This is the mail archive of the glibc-bugs@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]

[Bug nptl/21119] Unify the pthread_mutex_t definitions


https://sourceware.org/bugzilla/show_bug.cgi?id=21119

Torvald Riegel <triegel at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |triegel at redhat dot com

--- Comment #3 from Torvald Riegel <triegel at redhat dot com> ---
I don't that a exposing futexes would be the right approach.  It is too
low-level an interface for many clients, I believe.  While currently, pthreads
mutexes will accomplish a lot through use of futexes, this isn't necessarily
going to remain that way to the same extent.

Howard, have you tried using semaphores more extensively?

Regarding 32b/64b compatibility: Maybe this can be considered for something
like a semaphore; but even there this is not quite trivial.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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