linux-mips
[Top] [All Lists]

AW: Wait queue problem

To: ralf@oss.sgi.com
Subject: AW: Wait queue problem
From: Andre.Messerschmidt@infineon.com
Date: Tue, 23 Apr 2002 11:47:20 +0200
Cc: linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
> A bad race condition in that code.  If foo_int is called before your
> process
> had a chance to get to sleep it'll never be woken before the timeout.
> 
I think this has been the problem. Thanks.
Is there any possibility to check if there are processes waiting on a queue?

regards
Andre


<Prev in Thread] Current Thread [Next in Thread>
  • AW: Wait queue problem, Andre . Messerschmidt <=