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
backtrace.c
brk.c
chdir.c
check_fds.c
chmod.c
clock_getres.c
clock_gettime.c
clock.c
close.c
configure
configure.ac
createthread.c NaCl: Set tid field to a unique value. 2015-05-20 14:52:05 -07:00
dl-map-segments.h
dl-osinfo.h
dl-sysdep.c
dl-sysdep.h
dl-unmap-segments.h
dl-writev.h
dup2.c
dup.c
entry.h
errnos.awk
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
fchmod.c
fdatasync.c
fdopendir.c NaCl: Make fdopendir skip fcntl check. 2015-05-13 12:50:25 -07:00
fork.c
fsync.c
ftruncate64.c
ftruncate.c
futex-internal.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
fxstat64.c
fxstat.c
getcwd.c
getdents64.c
getdents.c
getdtsz.c
gethostname.c NaCl: Implement gethostname. 2015-05-08 13:06:41 -07:00
getpagesize.c
getpid.c
getsysstats.c
gettimeofday.c
glob64.c
glob.c NaCl: Fix glob.c build after getlogin_r -> __getlogin_r. 2015-06-24 15:29:53 -07:00
ifaddrs.c
Implies
init-first.c
iofdopen.c
irt.sed
isatty.c
kernel-features.h
ldsodefs.h
libc-start.c
link.c
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
lseek.c
lxstat64.c
lxstat.c
Makefile NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
mkdir.c
mmap64.c
mmap.c
mprotect.c
munmap.c
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
nacl-after-link.sh
nacl-interface-list.h
nacl-interface-table.c
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
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
open64.c
open.c
preconfigure
profil.c
pthread-pids.h NaCl: Make thread exit wake pthread_join. 2015-05-28 15:37:31 -07:00
read.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
readlink.c
rename.c
rmdir.c
sched_yield.c
shlib-versions
sigaction.c
sprofil.c
start.c
Subdirs
symlink.c
tls.h
truncate64.c
truncate.c
uname-values.h NaCl: Provide non-default values for uname. 2015-05-12 10:54:47 -07:00
unlink.c
utimes.c
Versions NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
write.c
xstat64.c
xstat.c
xstatconv.c
xstatconv.h