mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
215078017f
To help y2038 work avoid duplicate all the logic of nanosleep on non cancellable version, the patch replace it with a new futex operation, lll_timedwait. The changes are: - Add a expected value for __lll_clocklock_wait, so it can be used to wait for generic values. - Remove its internal atomic operation and move the logic to __lll_clocklock. It makes __lll_clocklock_wait even more generic and __lll_clocklock slight faster on fast-path (since it won't require a function call anymore). - Add lll_timedwait, which uses __lll_clocklock_wait, to replace both __pause_nocancel and __nanosleep_nocancel. It also allows remove the sparc32 __lll_clocklock_wait implementation (since it is similar to the generic one). Checked on x86_64-linux-gnu, sparcv9-linux-gnu, and i686-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||
---|---|---|
.. | ||
bits | ||
sys | ||
aio_misc.h | ||
allocrtsig.c | ||
dl-tunables.list | ||
fork.c | ||
fork.h | ||
futex-internal.h | ||
gai_misc.h | ||
Implies | ||
internaltypes.h | ||
jmp-unwind.c | ||
libc-lock.h | ||
libc-lockP.h | ||
librt-cancellation.c | ||
lowlevellock-futex.h | ||
lowlevellock.h | ||
Makeconfig | ||
Makefile | ||
malloc-machine.h | ||
proc_service.h | ||
pthread-functions.h | ||
pthread.h | ||
setxid.h | ||
shm-directory.h | ||
stdio-lock.h | ||
Subdirs | ||
tcb-offsets.h | ||
thread_db.h | ||
threads.h | ||
timer_routines.h | ||
tst-mqueue8x.c | ||
unwind-forcedunwind.c |