From 59b7fe99f2593682ba779fe0faa8f1156d48d087 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 9 Feb 2020 22:23:52 +0000 Subject: htl: Add support for libc cancellation points --- htl/pt-testcancel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'htl/pt-testcancel.c') 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 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) -- cgit v1.1