This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 0/4] nptl: Add pthread_clockjoin_np
- From: Mike Crowe <mac at mcrowe dot com>
- To: libc-alpha at sourceware dot org
- Cc: Mike Crowe <mac at mcrowe dot com>
- Date: Wed, 18 Sep 2019 13:30:52 +0100
- Subject: [PATCH v2 0/4] nptl: Add pthread_clockjoin_np
The aim of this series is to add pthread_clockjoin_np, which works
like pthread_timedjoin_np except it accepts an additional parameter to
indicate which clock the timeout should be measured against.
The naming matches the pthread_cond_clockwait,
pthread_mutex_clocklock, sem_clockwait, etc. functions added in glibc
v2.30 and documented at http://austingroupbugs.net/view.php?id=1216.
The series also includes some minimal documentation for
pthread_tryjoin_np and pthread_timedjoin_np, along with some new
tests.
Thanks to everyone who provided feedback for the first version[1] of
this series.
[1] https://sourceware.org/ml/libc-alpha/2019-06/msg00911.html
Mike Crowe (4):
nptl: Convert tst-join3 to use libsupport
manual: Add documentation for pthread_tryjoin_np and pthread_timedjoin_np
nptl: Add pthread_clockjoin_np
nptl: Add pthread_timedjoin_np, pthread_clockjoin_np NULL timeout test
ChangeLog | 85 ++++++-
NEWS | 9 +-
manual/threads.texi | 38 ++-
nptl/Makefile | 6 +-
nptl/Versions | 4 +-
nptl/pthreadP.h | 5 +-
nptl/pthread_clockjoin.c | 28 ++-
nptl/pthread_join.c | 2 +-
nptl/pthread_join_common.c | 23 +-
nptl/pthread_timedjoin.c | 3 +-
nptl/pthread_tryjoin.c | 2 +-
nptl/thrd_join.c | 2 +-
nptl/tst-join10.c | 20 +-
nptl/tst-join11.c | 21 +-
nptl/tst-join12.c | 20 +-
nptl/tst-join13.c | 21 +-
nptl/tst-join14.c | 73 +++++-
nptl/tst-join3.c | 104 ++-----
nptl/tst-join5.c | 20 +-
sysdeps/nptl/pthread.h | 11 +-
sysdeps/unix/sysv/linux/aarch64/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/alpha/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/arm/be/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/arm/le/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/csky/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/hppa/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/i386/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/ia64/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/nios2/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/sh/be/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/sh/le/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist | 1 +-
sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist | 1 +-
47 files changed, 428 insertions(+), 96 deletions(-)
create mode 100644 nptl/pthread_clockjoin.c
create mode 100644 nptl/tst-join10.c
create mode 100644 nptl/tst-join11.c
create mode 100644 nptl/tst-join12.c
create mode 100644 nptl/tst-join13.c
create mode 100644 nptl/tst-join14.c
base-commit: 2f9046fb059e94fe254c9a4ff5bcd52182069e44
--
git-series 0.9.1