glibc/sysdeps/nptl
Torvald Riegel a2f0363f81 Add and use new glibc-internal futex API.
This adds new functions for futex operations, starting with wait,
abstimed_wait, reltimed_wait, wake.  They add documentation and error
checking according to the current draft of the Linux kernel futex manpage.

Waiting with absolute or relative timeouts is split into separate functions.
This allows for removing a few cases of code duplication in pthreads code,
which uses absolute timeouts; also, it allows us to put platform-specific
code to go from an absolute to a relative timeout into the platform-specific
futex abstractions..

Futex operations that can be canceled are also split out into separate
functions suffixed by "_cancelable".

There are separate versions for both Linux and NaCl; while they currently
differ only slightly, my expectation is that the separate versions of
lowlevellock-futex.h will eventually be merged into futex-internal.h
when we get to move the lll_ functions over to the new futex API.
2015-07-10 13:47:09 +02:00
..
bits Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sys Fix copyright year on new stub sys/procfs.h file. 2015-01-08 14:29:45 -08:00
aio_misc.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
allocrtsig.c Include <signal.h> in sysdeps/nptl/allocrtsig.c 2015-01-29 10:00:25 +01:00
configure Fix unwind.h configure check for bare environment. 2014-07-03 21:46:59 -07:00
configure.ac Fix unwind.h configure check for bare environment. 2014-07-03 21:46:59 -07:00
fork.c Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
fork.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
futex-internal.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
gai_misc.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
Implies
internaltypes.h Use uint64_t and (uint64_t) 1 for 64-bit int 2015-01-23 14:48:40 -08:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
librt-cancellation.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lowlevellock-futex.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lowlevellock.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makeconfig Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
malloc-machine.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nptl-signals.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread-functions.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread.h NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP 2015-03-28 01:50:12 -04:00
setxid.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shm-directory.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigfillset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Subdirs
tcb-offsets.h
tst-mqueue8x.c
unwind-forcedunwind.c ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00