source:
EcnlProtoTool/trunk/musl-1.1.18/src/thread/arm/__aeabi_read_tp_c.c@
444
Last change on this file since 444 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 195 bytes |
Line | |
---|---|
1 | #include "pthread_impl.h" |
2 | #include <stdint.h> |
3 | |
4 | __attribute__((__visibility__("hidden"))) |
5 | void *__aeabi_read_tp_c(void) |
6 | { |
7 | return (void *)((uintptr_t)__pthread_self()-8+sizeof(struct pthread)); |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.