diff options
Diffstat (limited to 'src/thread/cancel_impl.c')
-rw-r--r-- | src/thread/cancel_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/cancel_impl.c b/src/thread/cancel_impl.c index 525d2904..41cf2b8c 100644 --- a/src/thread/cancel_impl.c +++ b/src/thread/cancel_impl.c @@ -58,7 +58,7 @@ static void cancel_handler(int sig, siginfo_t *si, void *ctx) void __testcancel() { if (!libc.has_thread_pointer) return; - pthread_t self = pthread_self(); + pthread_t self = __pthread_self(); if (self->cancel && !self->canceldisable) __cancel(); } |