Subject: Re: Unlocking an unlocked mutex
To: Vincent <10.50@free.fr>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-kern
Date: 10/13/2005 10:36:15
On 10/13/05, Vincent <10.50@free.fr> wrote:
> Jason Thorpe a =E9crit :
>
> > Yes, it's really an error.  IMO, the thread library should abort on
> > such errors.  It indicates that the app modified a data structure it
> > thought was locked, but in fact was not.
>
> Okay, I withdraw my proposal! ;)
> On the other hand, though I've not carried out a deep analysis, I wonder
> how a program that is known to work on Linux "as is" can generate this
> kind of error on NetBSD. Aren't both pthreads libraries (functionally)
> identical?

Yes, but Linux's libpthread does not have the nice assertions that ours has=