unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] nptl: Add pthread_clockjoin_np
@ 2019-09-18 12:30 Mike Crowe
  2019-09-18 12:30 ` [PATCH v2 1/4] nptl: Convert tst-join3 to use libsupport Mike Crowe
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Mike Crowe @ 2019-09-18 12:30 UTC (permalink / raw)
  To: libc-alpha; +Cc: Mike Crowe

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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2019-11-02  9:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-18 12:30 [PATCH v2 0/4] nptl: Add pthread_clockjoin_np Mike Crowe
2019-09-18 12:30 ` [PATCH v2 1/4] nptl: Convert tst-join3 to use libsupport Mike Crowe
2019-09-26 20:45   ` Adhemerval Zanella
2019-09-18 12:30 ` [PATCH v2 2/4] manual: Add documentation for pthread_tryjoin_np and pthread_timedjoin_np Mike Crowe
2019-09-26 21:26   ` Adhemerval Zanella
2019-09-27  9:08     ` Yann Droneaud
2019-09-28  8:53     ` Mike Crowe
2019-10-14 19:15       ` Adhemerval Zanella
2019-10-18 16:28         ` Mike Crowe
2019-10-21 18:15           ` Adhemerval Zanella
2019-09-18 12:30 ` [PATCH v2 3/4] nptl: Add pthread_clockjoin_np Mike Crowe
2019-09-26 23:17   ` Adhemerval Zanella
2019-09-28 19:45     ` Mike Crowe
2019-10-14 19:16       ` Adhemerval Zanella
2019-10-08  8:26   ` Mike Crowe
2019-09-18 12:30 ` [PATCH v2 4/4] nptl: Add pthread_timedjoin_np, pthread_clockjoin_np NULL timeout test Mike Crowe
2019-09-26 23:30   ` Adhemerval Zanella
2019-10-31 14:31 ` [PATCH v2 0/4] nptl: Add pthread_clockjoin_np Adhemerval Zanella
2019-10-31 19:38   ` Mike Crowe
2019-10-31 20:51     ` Adhemerval Zanella
2019-11-01 21:05       ` Joseph Myers
2019-11-01 23:01       ` Rafal Luzynski
2019-11-02  9:14         ` Mike Crowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).