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
/
pthread_self.c
blob
bd3bf95bb708ad6ce1f324e5e4eea05d978d172d
1
#include
"pthread_impl.h"
2
#include <threads.h>
3
4
static
pthread_t
__pthread_self_internal
()
5
{
6
return
__pthread_self
();
7
}
8
9
weak_alias
(
__pthread_self_internal
,
pthread_self
);
10
weak_alias
(
__pthread_self_internal
,
thrd_current
);