diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-09 22:23:52 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-10 01:03:50 +0000 |
commit | 59b7fe99f2593682ba779fe0faa8f1156d48d087 (patch) | |
tree | 6593a95d3d233a943b67a290cccf78fbbc793c0c /htl/pt-testcancel.c | |
parent | f1cd3407e4c6767e0bbe2ca122b713c6581b8d67 (diff) | |
download | glibc-59b7fe99f2593682ba779fe0faa8f1156d48d087.zip glibc-59b7fe99f2593682ba779fe0faa8f1156d48d087.tar.gz glibc-59b7fe99f2593682ba779fe0faa8f1156d48d087.tar.bz2 |
htl: Add support for libc cancellation points
Diffstat (limited to 'htl/pt-testcancel.c')
-rw-r--r-- | htl/pt-testcancel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/htl/pt-testcancel.c b/htl/pt-testcancel.c index 1ec324b..3732628 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) |