Mutexes and error checking

Daniel Eischen deischen at freebsd.org
Sun Jul 21 15:16:06 UTC 2013


On Sun, 21 Jul 2013, Joe Marcus Clarke wrote:

> On 7/19/13 1:55 AM, Daniel Eischen wrote:
>> On Thu, 18 Jul 2013, Daniel Eischen wrote:
>>
>> Ugh!  I misread the problem when I tried to recreate it and
>> test it on Solaris, so forget that last email.
>>
>> It seems Solaris behaves like Linux with PTHREAD_MUTEX_NORMAL
>> and _unlocking_ mutexes owned by other threads (dead or not).
>> Solaris only returns EPERM for PTHREAD_MUTEX_ERRORCHECK
>> mutexes.
>
> Given that, should we do the same?

I'm testing a patch.  Give me a couple of days to get
some more cycles.

-- 
DE



More information about the freebsd-threads mailing list