mirror of
https://github.com/fluencelabs/musl
synced 2025-06-28 06:02:04 +00:00
initial check-in, version 0.5.0
This commit is contained in:
7
src/thread/pthread_cancel.c
Normal file
7
src/thread/pthread_cancel.c
Normal file
@ -0,0 +1,7 @@
|
||||
#define SYSCALL_RETURN_ERRNO
|
||||
#include "pthread_impl.h"
|
||||
|
||||
int pthread_cancel(pthread_t t)
|
||||
{
|
||||
return syscall3(__NR_tgkill, t->pid, t->tid, SIGCANCEL);
|
||||
}
|
Reference in New Issue
Block a user