projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use bss instead of mmap for main thread's pthread thread-specific data
[oweals/musl.git]
/
src
/
thread
/
pthread_cancel.c
1
#include "pthread_impl.h"
2
3
int pthread_cancel(pthread_t t)
4
{
5
a_store(&t->cancel, 1);
6
return pthread_kill(t, SIGCANCEL);
7
}