[PATCH v6 4/4] nptl: Use __futex_abstimed_wait64 on pthread_create
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Dec 4 17:46:40 GMT 2025
The pthread_create is annotated as __THROWNL.
Checked on x86_64-linux-gnu.
Suggested-by: Florian Weimer <fweimer@redhat.com>
---
nptl/pthread_create.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 95d96e5157..c0d63ead1b 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -886,8 +886,8 @@ __pthread_create_2_1 (pthread_t *newthread, const pthread_attr_t *attr,
unsigned int state;
while ((state = atomic_load_relaxed (&pd->joinstate))
!= THREAD_STATE_EXITED)
- __futex_abstimed_wait_cancelable64 (&pd->joinstate, state, 0,
- NULL, LLL_SHARED);
+ __futex_abstimed_wait64 (&pd->joinstate, state, 0, NULL,
+ LLL_SHARED);
}
/* State (c) or (d) and we have ownership of PD (see CONCURRENCY
--
2.43.0
More information about the Libc-alpha
mailing list