wait_event_interruptible vs wait_for_completion_interruptible

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

 



Hi,

1) whats the difference between wait_event_interruptible and
wait_for_completion_interruptible ?

2) When is one used in favour of the other ?

3) Why "might_sleep" check is ONLY for "completion" kind of sleep
routines but not for "wait" kind of sleep routines ?

thanks,
tkrishna

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