Skip to contentSkip to conversation

diff between 'wait_event_interruptible' and 'wait_for_completion_interruptible'

DISCUSSION T.Krishnanand 1 participant 1 message Dec 8, 2005

lore
Share & tools
lore
#0 lore raw

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