diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 21:52:13 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-09 13:56:48 +0100 |
commit | f1cea28137f471e551073cdcfc8d04775e5020f8 (patch) | |
tree | 6dee53f1af9dca8650e563484923e2a7241824c7 /nptl | |
parent | c9abd9b4f3b1276d41a5cdf80f363d29d5864d68 (diff) | |
download | glibc-f1cea28137f471e551073cdcfc8d04775e5020f8.tar.gz glibc-f1cea28137f471e551073cdcfc8d04775e5020f8.tar.xz glibc-f1cea28137f471e551073cdcfc8d04775e5020f8.zip |
C11 threads: make thrd_join more portable
by making a __pthread_join call instead of an equivalent __pthread_clockjoin_ex call. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/thrd_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/thrd_join.c b/nptl/thrd_join.c index 783e36f02b..0c482959d5 100644 --- a/nptl/thrd_join.c +++ b/nptl/thrd_join.c @@ -22,7 +22,7 @@ int thrd_join (thrd_t thr, int *res) { void *pthread_res; - int err_code = __pthread_clockjoin_ex (thr, &pthread_res, 0, NULL, true); + int err_code = __pthread_join (thr, &pthread_res); if (res) *res = (int) (uintptr_t) pthread_res; |