wait_event()\ wait_event_interruptible()\ wait_event_interruptible_timeout() and wake_up()

Muni Sekhar munisekharrms at gmail.com
Mon Jul 29 13:18:57 EDT 2019


Hi All,

Let us assume that multiple processes are waiting on wait_event()\
wait_event_interruptible()\ wait_event_interruptible_timeout(), which
process gets woken up on calling wake_up()??

I presume wake_up() picks one process, but is there any algorithm to
pick which process?


-- 
Thanks,
Sekhar



More information about the Kernelnewbies mailing list