03-08-2006
3,216,
33
Join Date: Mar 2005
Last Activity: 4 September 2020, 7:11 AM EDT
Location: classification algos
Posts: 3,216
Thanks Given: 19
Thanked 33 Times in 30 Posts
any process blocking on a read call needs to be eventually put to sleep
untill data for which the process is blocked is available,
and this api wait_event_interruptible would put the process that is blocked
to sleep state with guaranteed avoid of any race condition upon invoking the
process later
but this api needs a condition to be passed to wake up the process put to sleep