system hangs during wait_event_interruptible

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

 



Hi,

I am trying to wait for an event but I also want the wait to timeout. I am 
doing something like this:

timeout = jiffies + ticks;
wait_event_interruptible(wq, jiffies > timeout);

But my system seems to hang when it reaches the wait_event_interruptible() 
call. I am using the 2.4.6 kernel. Is there a patch or workwround for this. 
The wait queue entry and wait_queue have been properly initialized.

Please reply to vipoolprajapati@hotmail.com as I am not on the list.

Thanks!


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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