AW: Wait queue problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux