July 29, 2019
6:01 p.m.
On Mon, Jul 29, 2019 at 10:48:57PM +0530, Muni Sekhar wrote:
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 Sorry to spoil the fun here. But check out what the queue data structure is all about. 'wait_queue' :)
Thank you Bharath
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies