Sign in
opensecura
/
3p
/
sel4
/
musllibc
/
4a8335b2248d934e2e40386af4f1b0495b3c173d
/
.
/
src
/
thread
/
arm
/
__aeabi_read_tp_c.c
blob: 654bdc577e5b70ea07044b33252e2d8f09aeb22e [
file
]
#include
"pthread_impl.h"
#include
<stdint.h>
__attribute__
((
__visibility__
(
"hidden"
)))
void
*
__aeabi_read_tp_c
(
void
)
{
return
(
void
*)((
uintptr_t
)
__pthread_self
()-
8
+
sizeof
(
struct
pthread
));
}