conclusion
This commit is contained in:
parent
0f97a589b8
commit
9bc8a11afe
1069 changed files with 48694 additions and 11 deletions
6
05/musl-0.6.0/arch/i386/pthread_arch.h
Normal file
6
05/musl-0.6.0/arch/i386/pthread_arch.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
static inline struct pthread *__pthread_self()
|
||||
{
|
||||
struct pthread *self;
|
||||
__asm__ ("movl %%gs:0,%0" : "=r" (self) );
|
||||
return self;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue