March 5, 2013
5:32 a.m.
On Tue, Mar 5, 2013 at 10:14 AM, ishare <june.tune.sea@gmail.com> wrote:
when pthread_unlock(mutex) is called , do other threads waiting for mutex be waked up immediately? or be waked up at the next schedule?
next schedule. I think the waiting threads (processes) will moved from the wait queue to the run queue from where they will be scheduled to run. HTH, -mandeep
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies