projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix major breakage in pthread_once (it was always deadlocking)
[oweals/musl.git]
/
src
/
thread
/
pthread_cancel.c
1
#define SYSCALL_RETURN_ERRNO
2
#include "pthread_impl.h"
3
4
int pthread_cancel(pthread_t t)
5
{
6
return syscall3(__NR_tgkill, t->pid, t->tid, SIGCANCEL);
7
}