]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: Move __pthread_enable/disable_asynccancel into libc
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 16 Nov 2025 15:40:19 +0000 (15:40 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 17 Nov 2025 00:38:36 +0000 (00:38 +0000)
This is actually needed before we make pthread_cancel available in libc.

htl/Makefile
htl/Versions

index 9fde4174bbb120699a38397ef05929f2e7fdc911..f841b33b5161b6bede65b2abca6259784ae29334 100644 (file)
@@ -33,7 +33,6 @@ libpthread-routines := \
   pt-spin \
   pt-getname-np \
   pt-setname-np \
-  cancellation \
   # libpthread-routine
 
 headers := \
@@ -67,6 +66,7 @@ distribute :=
 
 routines := \
   alloca_cutoff \
+  cancellation \
   htlfreeres \
   pt-alloc \
   pt-attr \
index 349ab4fe4bc2bdb67d1cf4226d53838265e40dbc..280459c2a68db899c1bfc1a82fba0d91bb59663d 100644 (file)
@@ -265,6 +265,8 @@ libc {
     __pthread_dealloc;
     __pthread_dealloc_finish;
     __pthread_setcancelstate;
+    __pthread_enable_asynccancel;
+    __pthread_disable_asynccancel;
     __pthread_cond_broadcast;
     __pthread_cond_destroy;
     __pthread_cond_init;
@@ -345,7 +347,5 @@ libpthread {
     __pthread_initialize_minimal;
 
     __pthread_create;
-    __pthread_enable_asynccancel;
-    __pthread_disable_asynccancel;
   }
 }