[Bug nptl/21119] Unify the pthread_mutex_t definitions

triegel at redhat dot com sourceware-bugzilla@sourceware.org
Mon Feb 13 13:17:00 GMT 2017


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.


More information about the Glibc-bugs mailing list