diff options
| author | Rich Felker <dalias@aerifal.cx> | 2011-02-15 03:56:52 -0500 | 
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2011-02-15 03:56:52 -0500 | 
| commit | 7b2dd2235dd0db3a2f71e25d1c0925e0348e1996 (patch) | |
| tree | 26cab4bb4f2bff3b4cf8ccb2c0e497cf9631c893 /src/internal/pthread_impl.h | |
| parent | 0b2006c8fea021b7fa1fd267bf270cb8c279f230 (diff) | |
| download | musl-7b2dd2235dd0db3a2f71e25d1c0925e0348e1996.tar.gz | |
finish unifying thread register handling in preparation for porting
Diffstat (limited to 'src/internal/pthread_impl.h')
| -rw-r--r-- | src/internal/pthread_impl.h | 10 | 
1 files changed, 2 insertions, 8 deletions
| diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index d751f197..e481ab5a 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -38,19 +38,13 @@ struct pthread {  	pthread_attr_t attr;  }; -static inline struct pthread *__pthread_self() -{ -	struct pthread *self; -	__asm__ ("movl %%gs:0,%0" : "=r" (self) ); -	return self; -} +#include "pthread_arch.h"  #define SIGCANCEL 32  #define SIGSYSCALL 33  #define SIGTIMER  32 /* ?? */ -int __set_thread_area(unsigned long *); -int __set_pthread_self(void *); +int __set_thread_area(void *);  int __libc_sigaction(int, const struct sigaction *, struct sigaction *);  int __libc_sigprocmask(int, const sigset_t *, sigset_t *);  void __lock(volatile int *); | 
