diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-03-15 15:23:42 +0000 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-03-15 19:45:55 +0000 |
| commit | bfb2f2f481147da54237ade3266f2586a51d43c9 (patch) | |
| tree | f8e7e916730d939eb9e1737bdc411e5a8101b559 /sysdeps | |
| parent | 10af00f7a135c85796a9c4c75228358b8898da5c (diff) | |
| download | glibc-bfb2f2f481147da54237ade3266f2586a51d43c9.tar.xz glibc-bfb2f2f481147da54237ade3266f2586a51d43c9.zip | |
htl: Make pthread_setcanceltype / state a cancellation point
as expected by tst-cancel32.
Diffstat (limited to 'sysdeps')
| -rw-r--r-- | sysdeps/htl/pthreadP.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h index 9479b9ef24..78ef4e7674 100644 --- a/sysdeps/htl/pthreadP.h +++ b/sysdeps/htl/pthreadP.h @@ -221,6 +221,14 @@ hidden_proto (__pthread_setspecific) hidden_proto (__pthread_get_cleanup_stack) #endif +#if !defined(__NO_WEAK_PTHREAD_ALIASES) && !IS_IN (libpthread) +# ifdef weak_extern +weak_extern (__pthread_exit) +# else +# pragma weak __pthread_exit +# endif +#endif + #define ASSERT_TYPE_SIZE(type, size) \ _Static_assert (sizeof (type) == size, \ "sizeof (" #type ") != " #size) |
