thread scheduling at mutex unlock

Daniel Eischen deischen at
Sat May 17 05:11:49 UTC 2008

On Fri, 16 May 2008, Alfred Perlstein wrote:

> * Daniel Eischen <deischen at> [080516 14:55] wrote:
>> I think to be fair, the contested mutex case should try
>> to handoff the mutex, in lieu of any priority protocol
>> that is in place for the threads or mutex.  And actually,
>> I think in order to properly implement priority mutexes,
>> there must be a handoff.
> Is this what you are saying?  Because it is what I believe.

Yes, I think so.  It doesn't seem very fair to give one thread
the ability to consistently acquire the mutex when another
thread has been waiting for it.


More information about the freebsd-threads mailing list