aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/cancel.c')
-rw-r--r--linuxthreads/cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/cancel.c b/linuxthreads/cancel.c
index cd2bbac..eda5d88 100644
--- a/linuxthreads/cancel.c
+++ b/linuxthreads/cancel.c
@@ -61,7 +61,7 @@ int pthread_cancel(pthread_t thread)
handle->h_descr->p_canceled = 1;
pid = handle->h_descr->p_pid;
__pthread_unlock(&handle->h_lock);
- kill(pid, PTHREAD_SIG_CANCEL);
+ kill(pid, __pthread_sig_cancel);
return 0;
}