aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-11-23 13:47:18 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-11-25 10:46:25 -0300
commitb4c3446836285fc3d1465dc9b8c587c8f50e4922 (patch)
treef70425bcc062abc3523456f7edf4ab185946e3b9 /manual
parent74f418b29d1e9463028f2ae4cc2a9c74d39aeaab (diff)
downloadglibc-b4c3446836285fc3d1465dc9b8c587c8f50e4922.zip
glibc-b4c3446836285fc3d1465dc9b8c587c8f50e4922.tar.gz
glibc-b4c3446836285fc3d1465dc9b8c587c8f50e4922.tar.bz2
nptl: Return EINVAL for invalid clock for pthread_clockjoin_np
The align the GNU extension with the others one that accept specify which clock to wait for (such as pthread_mutex_clocklock). Check on x86_64-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'manual')
-rw-r--r--manual/threads.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/manual/threads.texi b/manual/threads.texi
index 5bcfe32..06b6b27 100644
--- a/manual/threads.texi
+++ b/manual/threads.texi
@@ -842,6 +842,8 @@ will wait forever in the same way as @code{pthread_join}.
@safety{@prelim{}@mtsafe{}@asunsafe{@asulock{}}@acunsafe{@aculock{}}}
Behaves like @code{pthread_timedjoin_np} except that the absolute time in
@var{abstime} is measured against the clock specified by @var{clockid}.
+Currently, @var{clockid} must be either @code{CLOCK_MONOTONIC} or
+@code{CLOCK_REALTIME}.
@end deftypefun
@node Single-Threaded