[PATCH 03/11] Add external interface changes: new lock types for pthread_mutex_t

Andi Kleen andi@firstfloor.org
Sat Jun 15 14:20:00 GMT 2013


> Why don't you just say that the relock semantics change to undefined
> behavior, thus making PTHREAD_MUTEX_NORMAL have semantics equivalent to
> PTHREAD_MUTEX_DEFAULT?  That way, you don't have to define new
> semantics, and it's easier to remember and grok for users that are
> already familiar with the POSIX mutex types.

Ok I can add that too.

-Andi



More information about the Libc-alpha mailing list