1 #include "pthread_impl.h"
2 #include "pthread_ffrt.h"
3 #include <threads.h>
4 
__pthread_getspecific(pthread_key_t k)5 static void *__pthread_getspecific(pthread_key_t k)
6 {
7 	struct pthread *self = __pthread_self();
8 	return self->tsd[k];
9 }
10 
pthread_gettsdnull11 void** pthread_gettsd()
12 {
13 	struct pthread *self = __pthread_self();
14 	return self->tsd;
15 }
16 
17 weak_alias(__pthread_getspecific, pthread_getspecific);
18 weak_alias(__pthread_getspecific, tss_get);
19