[PATCH][BZ #15790] Have pthread_mutexattr_gettype mask out the elision bit.

Andi Kleen andi@firstfloor.org
Thu Nov 7 17:57:00 GMT 2013


> Andi, it is unclear that if this is desired behaviour, one argument
> againist could be that if user wants to clone mutex type like
> 
> int tp;
> pthread_mutexattr_gettype(a1, &tp);
> pthread_mutexattr_settype(a2, tp);
> 
> should it preserve elision or not?

Yes it should.

-Andi



More information about the Libc-alpha mailing list