Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Wait queue problem
@ 2002-04-17 10:03 Andre.Messerschmidt
  2002-04-19  1:16 ` Ralf Baechle
  2007-07-20 12:21 ` Misbah khan
  0 siblings, 2 replies; 4+ messages in thread
From: Andre.Messerschmidt @ 2002-04-17 10:03 UTC (permalink / raw)
  To: linux-mips

Hi,

Does anybody else have problems using wait queues in a 2.4.5 MIPS kernel?
When I try to wake up a process from an interrupt it won't start to execute.
It always waits for the timeout before resuming work. 
In principal my code look like this:

wait_queue_head_t wq;

foo() {
init_waitqueue_head(&wq);
interruptible_sleep_on_timeout(&wq,10*HZ);
}

foo_int() {
wake_up_interuptible(&wq);
}

Am I missing something? 

best regards
--
Andre Messerschmidt

Application Engineer
Infineon Technologies AG

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-20 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-17 10:03 Wait queue problem Andre.Messerschmidt
2002-04-19  1:16 ` Ralf Baechle
2002-04-19  2:01   ` Richard Hodges
2007-07-20 12:21 ` Misbah khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox