Re: interruptible_sleep_on_timeout error?

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

 



On Wed, 2003-11-19 at 00:52, sean whalen wrote:
> Hi All --
> Has anyone run into problems using wait queue's in 2.6.0-test9?  I have  
> the following lines in my code:
> 
> wait_queue_head_t wq;
> init_waitqueue_head(&wq);
> interruptible_sleep_on_timeout(&wq, 5*HZ);
> 
> And whenever it reaches the interruptible_sleep_

interruptible_sleep_on is always a bug! ;)

why don't you use schedule_timeout() instead ?

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux