From 69ca4b54c151cec42ccca5e05790efc1a8206b47 Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Thu, 31 Oct 2019 10:03:21 -0300 Subject: nptl: Add pthread_clockjoin_np Introduce pthread_clockjoin_np as a version of pthread_timedjoin_np that accepts a clockid_t parameter to indicate which clock the timeout should be measured against. This mirrors the recently-added POSIX-proposed "clock" wait functions. Checked on x86_64-linux-gnu. Reviewed-by: Adhemerval Zanella --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 75b380c..3006b1a 100644 --- a/NEWS +++ b/NEWS @@ -34,6 +34,10 @@ Major new features: will always receive a 'struct timezone' whose tz_minuteswest and tz_dsttime fields are zero. +* The function pthread_clockjoin_np has been added, enabling join with a + terminated thread with an specific clock. It allows waiting against + CLOCK_MONOTONIC and CLOCK_REALTIME. This function is a GNU extension. + Deprecated and removed features, and other changes affecting compatibility: * The totalorder and totalordermag functions, and the corresponding -- cgit v1.1