repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
synccall: add separate exit_sem to fix thread release logic bug
[musl.git]
/
src
/
thread
/
thrd_exit.c
blob
9b291ae3db2de16b19c90f504c8e9e7102e10adb
1
#include <threads.h>
2
#include <pthread.h>
3
#include <stdint.h>
4
5
_Noreturn
void
thrd_exit
(
int
result
)
6
{
7
__pthread_exit
((
void
*)(
intptr_t
)
result
);
8
}