This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]