]> git.ipfire.org Git - thirdparty/glibc.git/commit
C11 threads: Move implementation to sysdeps/pthread
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 13 Jan 2020 19:58:28 +0000 (19:58 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 9 Feb 2020 12:56:48 +0000 (13:56 +0100)
commitb05de1040009d0d07a5a2e2765cffe554ffbe6ac
tree2b112a97ce7947699fac8b6df47e6db0b5196ded
parent6cefe985b869e7b33b05ce7252410474d8a6c3ad
C11 threads: Move implementation to sysdeps/pthread

so it gets shared by nptl and htl. Also add htl versions of thrd_current and
thrd_yield.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
49 files changed:
htl/Versions
nptl/Makefile
sysdeps/htl/pthreadP.h
sysdeps/htl/thrd_current.c [new file with mode: 0644]
sysdeps/htl/threads.h [deleted file]
sysdeps/hurd/stdc-predef.h [deleted file]
sysdeps/mach/htl/thrd_yield.c [new file with mode: 0644]
sysdeps/mach/hurd/htl/pt-mutex-destroy.c
sysdeps/mach/hurd/htl/pt-mutex-timedlock.c
sysdeps/mach/hurd/i386/libc.abilist
sysdeps/mach/hurd/i386/libpthread.abilist
sysdeps/nptl/thrd_create.c [new file with mode: 0644]
sysdeps/pthread/Makefile
sysdeps/pthread/call_once.c [moved from nptl/call_once.c with 100% similarity]
sysdeps/pthread/cnd_broadcast.c [moved from nptl/cnd_broadcast.c with 100% similarity]
sysdeps/pthread/cnd_destroy.c [moved from nptl/cnd_destroy.c with 100% similarity]
sysdeps/pthread/cnd_init.c [moved from nptl/cnd_init.c with 100% similarity]
sysdeps/pthread/cnd_signal.c [moved from nptl/cnd_signal.c with 100% similarity]
sysdeps/pthread/cnd_timedwait.c [moved from nptl/cnd_timedwait.c with 100% similarity]
sysdeps/pthread/cnd_wait.c [moved from nptl/cnd_wait.c with 100% similarity]
sysdeps/pthread/mtx_destroy.c [moved from nptl/mtx_destroy.c with 100% similarity]
sysdeps/pthread/mtx_init.c [moved from nptl/mtx_init.c with 100% similarity]
sysdeps/pthread/mtx_lock.c [moved from nptl/mtx_lock.c with 100% similarity]
sysdeps/pthread/mtx_timedlock.c [moved from nptl/mtx_timedlock.c with 100% similarity]
sysdeps/pthread/mtx_trylock.c [moved from nptl/mtx_trylock.c with 100% similarity]
sysdeps/pthread/mtx_unlock.c [moved from nptl/mtx_unlock.c with 100% similarity]
sysdeps/pthread/thrd_create.c [moved from nptl/thrd_create.c with 91% similarity]
sysdeps/pthread/thrd_detach.c [moved from nptl/thrd_detach.c with 100% similarity]
sysdeps/pthread/thrd_equal.c [moved from nptl/thrd_equal.c with 100% similarity]
sysdeps/pthread/thrd_exit.c [moved from nptl/thrd_exit.c with 100% similarity]
sysdeps/pthread/thrd_join.c [moved from nptl/thrd_join.c with 100% similarity]
sysdeps/pthread/thrd_priv.h [moved from nptl/thrd_priv.h with 100% similarity]
sysdeps/pthread/thrd_sleep.c [moved from nptl/thrd_sleep.c with 100% similarity]
sysdeps/pthread/threads.h [moved from sysdeps/nptl/threads.h with 100% similarity]
sysdeps/pthread/tss_create.c [moved from nptl/tss_create.c with 100% similarity]
sysdeps/pthread/tss_delete.c [moved from nptl/tss_delete.c with 100% similarity]
sysdeps/pthread/tss_get.c [moved from nptl/tss_get.c with 100% similarity]
sysdeps/pthread/tss_set.c [moved from nptl/tss_set.c with 100% similarity]
sysdeps/pthread/tst-call-once.c [moved from nptl/tst-call-once.c with 100% similarity]
sysdeps/pthread/tst-cnd-basic.c [moved from nptl/tst-cnd-basic.c with 100% similarity]
sysdeps/pthread/tst-cnd-broadcast.c [moved from nptl/tst-cnd-broadcast.c with 100% similarity]
sysdeps/pthread/tst-cnd-timedwait.c [moved from nptl/tst-cnd-timedwait.c with 100% similarity]
sysdeps/pthread/tst-mtx-basic.c [moved from nptl/tst-mtx-basic.c with 100% similarity]
sysdeps/pthread/tst-mtx-recursive.c [moved from nptl/tst-mtx-recursive.c with 100% similarity]
sysdeps/pthread/tst-mtx-timedlock.c [moved from nptl/tst-mtx-timedlock.c with 100% similarity]
sysdeps/pthread/tst-mtx-trylock.c [moved from nptl/tst-mtx-trylock.c with 100% similarity]
sysdeps/pthread/tst-thrd-detach.c [moved from nptl/tst-thrd-detach.c with 100% similarity]
sysdeps/pthread/tst-thrd-sleep.c [moved from nptl/tst-thrd-sleep.c with 100% similarity]
sysdeps/pthread/tst-tss-basic.c [moved from nptl/tst-tss-basic.c with 100% similarity]