]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Return EINVAL for invalid clock for pthread_clockjoin_np
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 23 Nov 2020 16:47:18 +0000 (13:47 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 25 Nov 2020 13:46:25 +0000 (10:46 -0300)
commitb4c3446836285fc3d1465dc9b8c587c8f50e4922
treef70425bcc062abc3523456f7edf4ab185946e3b9
parent74f418b29d1e9463028f2ae4cc2a9c74d39aeaab
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>
manual/threads.texi
nptl/pthread_clockjoin.c
sysdeps/pthread/Makefile
sysdeps/pthread/tst-join15.c [new file with mode: 0644]