☰
Debian Codegraph
@
1.66.10-3
/
/
internal
/
overlay
/
musl
/
arch
/
x86_64
/
pthread_arch.h
☽
☼
internal/overlay/musl/arch/x86_64/pthread_arch.h
code
plain
raw
BSD-3-Clause
2017 The Libc Authors.
debian/copyright
1
static inline uintptr_t __get_tp();
2
3
#ifndef __CCGO__
4
static inline uintptr_t __get_tp()
5
{
6
uintptr_t tp;
7
__asm__ ("mov %%fs:0,%0" : "=r" (tp) );
8
return tp;
9
}
10
#endif
11
12
#define MC_PC gregs[REG_RIP]