On Tue, Mar 5, 2013 at 10:14 AM, ishare <[email protected]> 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 > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
