nptl: Add pthread_timedjoin_np, pthread_clockjoin_np NULL timeout test
authorMike Crowe <mac@mcrowe.com>
Thu, 31 Oct 2019 13:05:17 +0000 (10:05 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 1 Nov 2019 14:23:43 +0000 (11:23 -0300)
commit7aeab82edb38390c2a02519d312e098f4049e867
tree0a09177f718cf27bc17b903cdd8d54acb0b46ce1
parent69ca4b54c151cec42ccca5e05790efc1a8206b47
nptl: Add pthread_timedjoin_np, pthread_clockjoin_np NULL timeout test

Passing NULL as the timeout parameter to pthread_timedjoin_np has resulted
in it behaving like pthread_join for a long time. Since that is now the
documented behaviour, we ought to test that both it and the new
pthread_clockjoin_np support it.

Checked on x86_64-linux-gnu.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
nptl/Makefile
nptl/tst-join14.c [new file with mode: 0644]