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]

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


This patch addresses the issue in BZ #15790. I'm not sure why
pthread_mutexattr_gettype is returning PTHREAD_MUTEX_NO_ELISION_NP,
since that seems to be an internal flag. Tolga Dalman's comment on BZ
suggests that PTHREAD_MUTEX_NO_ELISION_NP should be added to
PTHREAD_MUTEXATTR_FLAG_BITS. However, doing that may cause problems with
__pthread_mutex_init().

Is this patch OK?

Thanks,
Cesar

Attachment: glibc_bz15790.diff
Description: Text document


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