March 5, 2013
4:44 a.m.
when pthread_unlock(mutex) is called , do other threads waiting for mutex be waked up immediately? or be waked up at the next schedule?