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] Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in pthread_mutexattr_gettype (BZ #15790)


On 02/11/2015 06:45 AM, Andreas Schwab wrote:
> pthread_mutexattr_settype adds PTHREAD_MUTEX_NO_ELISION_NP to kind,
> which is an internal flag that pthread_mutexattr_gettype shouldn't
> expose, since pthread_mutexattr_settype wouldn't accept it.
> 
> Andreas.
> 
> 	[BZ #15790]
> 	* nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
> 	Filter out elision flags from value returned in kind.
> 	* nptl/Makefile (tests): Add tst-pthread-mutexattr.
> 	* nptl/tst-pthread-mutexattr.c: New file.

OK. Thanks for the test. Copyright 2015 as Joseph indicates.

Cheers,
Carlos.


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