Sign in
android
/
platform
/
external
/
musl
/
3ea3fcf78a5532e118856846df8adbf3f60ef716
/
.
/
src
/
linux
/
gettid.c
blob: 70767137e92fe9a8820aede17af029f13d845a5a [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<unistd.h>
#include
"pthread_impl.h"
pid_t
gettid
(
void
)
{
return
__pthread_self
()->
tid
;
}