about summary refs log tree commit diff
path: root/htl/pt-testcancel.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 22:23:52 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 01:03:50 +0000
commit59b7fe99f2593682ba779fe0faa8f1156d48d087 (patch)
tree6593a95d3d233a943b67a290cccf78fbbc793c0c /htl/pt-testcancel.c
parentf1cd3407e4c6767e0bbe2ca122b713c6581b8d67 (diff)
downloadglibc-59b7fe99f2593682ba779fe0faa8f1156d48d087.tar.gz
glibc-59b7fe99f2593682ba779fe0faa8f1156d48d087.tar.xz
glibc-59b7fe99f2593682ba779fe0faa8f1156d48d087.zip
htl: Add support for libc cancellation points
Diffstat (limited to 'htl/pt-testcancel.c')
-rw-r--r--htl/pt-testcancel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/htl/pt-testcancel.c b/htl/pt-testcancel.c
index 1ec324b95f..37326280ee 100644
--- a/htl/pt-testcancel.c
+++ b/htl/pt-testcancel.c
@@ -22,7 +22,7 @@
 #include <pthreadP.h>
 
 void
-pthread_testcancel (void)
+__pthread_testcancel (void)
 {
   struct __pthread *p = _pthread_self ();
   int cancelled;
@@ -34,3 +34,4 @@ pthread_testcancel (void)
   if (cancelled)
     __pthread_exit (PTHREAD_CANCELED);
 }
+strong_alias (__pthread_testcancel, pthread_testcancel)