working on it
This commit is contained in:
parent
56a6e78765
commit
35a88970c2
1094 changed files with 51093 additions and 51 deletions
6
05/musl-final/arch/i386/pthread_arch.h
Normal file
6
05/musl-final/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