In the function sem_post, rtl_wait_wakeup is called.
Inside rtl_wait_wakeup all the tasks in the wait queue
are woken up. Why is it necessary to wake up all the
tasks in the queue, why not only one? Incase of
counting sema4 of value say 2, if more than 2 tasks
are waiting then more than all of these tasks will be
woken up. Is my analysis right? How exactly does this work?

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
_______________________________________________
Rtl mailing list
[EMAIL PROTECTED]
http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl

Reply via email to