mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
a2f0363f81
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. |
||
---|---|---|
.. | ||
bits | ||
sys | ||
aio_misc.h | ||
allocrtsig.c | ||
configure | ||
configure.ac | ||
fork.c | ||
fork.h | ||
futex-internal.h | ||
gai_misc.h | ||
Implies | ||
internaltypes.h | ||
jmp-unwind.c | ||
librt-cancellation.c | ||
lowlevellock-futex.h | ||
lowlevellock.h | ||
Makeconfig | ||
Makefile | ||
malloc-machine.h | ||
nptl-signals.h | ||
pthread-functions.h | ||
pthread.h | ||
setxid.h | ||
shm-directory.h | ||
sigfillset.c | ||
Subdirs | ||
tcb-offsets.h | ||
tst-mqueue8x.c | ||
unwind-forcedunwind.c |