glibc/sysdeps
Carlos O'Donell 042e1521c7 Fix semaphore destruction (bug 12674).
This commit fixes semaphore destruction by either using 64b atomic
operations (where available), or by using two separate fields when only
32b atomic operations are available.  In the latter case, we keep a
conservative estimate of whether there are any waiting threads in one
bit of the field that counts the number of available tokens, thus
allowing sem_post to atomically both add a token and determine whether
it needs to call futex_wake.

See:
https://sourceware.org/ml/libc-alpha/2014-12/msg00155.html
2015-01-21 00:46:16 -05:00
..
aarch64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
alpha Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
arm Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
generic Clean up allocrtsig code. 2015-01-08 15:31:15 -08:00
gnu ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
hppa Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
i386 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
ia64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
ieee754 Fix ldbl-96 scalblnl underflowing results (bug 17803). 2015-01-12 23:02:14 +00:00
init_array Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
m68k Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
mach Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
microblaze MicroBlaze: Avoid pointer to integer conversion warning 2015-01-09 14:49:27 +10:00
mips Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
nios2 Commit nios2 port to master. 2015-01-17 22:29:12 -08:00
nptl Fix semaphore destruction (bug 12674). 2015-01-21 00:46:16 -05:00
posix Fix shm-directory.h #include. 2015-01-09 16:08:14 -08:00
powerpc Fix powerpc-nofpu fesetenv namespace (bug 17748). 2015-01-14 21:35:40 +00:00
pthread Some #include cleanup in aio/timer code. 2015-01-08 15:38:15 -08:00
s390 S390: Get rid of linknamespace failures for string functions. 2015-01-16 09:17:32 +01:00
sh Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
sparc Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
tile Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
unix Fix semaphore destruction (bug 12674). 2015-01-21 00:46:16 -05:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86_64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00