wait_event_interruptible()

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

 



Hi !!

Just a small query,

When wait_event_interruptible is used, does it needs to be awakened by the wake_up_interruptible() call or it comes out of sleep when the condition gets true.

Although LDD talks about it, its example have got me confused, the example on pg 150 of scullpipe, it uses the wait_event_interruptible but also calls
the wake_up_interruptible to wake up readers/writers.


TIA
Regards
Ketan


-- 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