glibc/sysdeps/nacl
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 struct stat is not posix conform 2015-05-26 22:27:24 +05:30
_exit.c PLT avoidance for _exit in rtld. 2015-07-09 15:25:47 -07:00
access.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
backtrace.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
brk.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
chdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
check_fds.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
chmod.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
clock_getres.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
clock_gettime.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
clock.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
close.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
configure Add arm-nacl port. 2015-04-17 09:02:19 -07:00
configure.ac Add arm-nacl port. 2015-04-17 09:02:19 -07:00
createthread.c NaCl: Set tid field to a unique value. 2015-05-20 14:52:05 -07:00
dl-map-segments.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-osinfo.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-sysdep.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-sysdep.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-unmap-segments.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-writev.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dup2.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dup.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
entry.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
errnos.awk Add arm-nacl port. 2015-04-17 09:02:19 -07:00
euidaccess.c NaCl: Fix symbol names for euidaccess. 2015-04-29 14:43:41 -07:00
exit-thread.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
fchdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fchmod.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fdatasync.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fdopendir.c NaCl: Make fdopendir skip fcntl check. 2015-05-13 12:50:25 -07:00
fork.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fsync.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
ftruncate64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
ftruncate.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
futex-internal.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
fxstat64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fxstat.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getcwd.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getdents64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getdents.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getdtsz.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
gethostname.c NaCl: Implement gethostname. 2015-05-08 13:06:41 -07:00
getpagesize.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getpid.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getsysstats.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
gettimeofday.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
glob64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
glob.c NaCl: Fix glob.c build after getlogin_r -> __getlogin_r. 2015-06-24 15:29:53 -07:00
ifaddrs.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
Implies Add arm-nacl port. 2015-04-17 09:02:19 -07:00
init-first.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
iofdopen.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
irt.sed Add arm-nacl port. 2015-04-17 09:02:19 -07:00
isatty.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
kernel-features.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
ldsodefs.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
libc-start.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
link.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lll_timedlock_wait.c NaCl: Fix thinko in last change. 2015-05-26 16:11:46 -07:00
lll_timedwait_tid.c Clean up BUSY_WAIT_NOP and atomic_delay. 2015-06-30 15:57:15 +02:00
lowlevellock-futex.h NaCl: Fix lll_futex_timed_wait timeout calculation. 2015-05-28 15:35:45 -07:00
lowlevellock.h Clean up BUSY_WAIT_NOP and atomic_delay. 2015-06-30 15:57:15 +02:00
lseek64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lseek.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lxstat64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lxstat.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
Makefile NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
mkdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
mmap64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
mmap.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
mprotect.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
munmap.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl_interface_ext_supply.c NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
nacl_interface_query.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-after-link.sh Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-interface-list.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-interface-table.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-interfaces.c NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
nacl-interfaces.h NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
nacl-interfaces.mk.in Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-test-wrapper.sh NaCl: Fix elf_loader file name in nacl-test-wrapper.sh 2015-05-06 12:55:58 -07:00
nanosleep.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
open64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
open.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
preconfigure Add arm-nacl port. 2015-04-17 09:02:19 -07:00
profil.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
pthread-pids.h NaCl: Make thread exit wake pthread_join. 2015-05-28 15:37:31 -07:00
read.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir64_r.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir_r.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readlink.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
rename.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
rmdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
sched_yield.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
shlib-versions Add arm-nacl port. 2015-04-17 09:02:19 -07:00
sigaction.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
sprofil.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
start.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
Subdirs Add arm-nacl port. 2015-04-17 09:02:19 -07:00
symlink.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
tls.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
truncate64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
truncate.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
uname-values.h NaCl: Provide non-default values for uname. 2015-05-12 10:54:47 -07:00
unlink.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
utimes.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
Versions NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
write.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
xstat64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
xstat.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
xstatconv.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
xstatconv.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00