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

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

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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