Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 4 of 4) sorted by relevance

/components/libc/posix/pthreads/
A Dpthread_tls.c59 if (ptd->tls == NULL) in pthread_getspecific()
63 return ptd->tls[key]; in pthread_getspecific()
111 if (ptd->tls == NULL) in pthread_setspecific()
113 ptd->tls = (void**)rt_calloc(PTHREAD_KEY_MAX, sizeof(void*)); in pthread_setspecific()
118 ptd->tls[key] = (void *)value; in pthread_setspecific()
A Dpthread_internal.h60 void** tls; /* thread-local storage area */ member
A Dpthread.c169 data = ptd->tls[index]; in _destroy_item()
214 if (ptd->tls != RT_NULL) in _pthread_data_destroy()
248 rt_free(ptd->tls); in _pthread_data_destroy()
249 ptd->tls = RT_NULL; in _pthread_data_destroy()
/components/lwp/
A Dlwp_syscall.c3347 void *tls = RT_NULL; in _sys_clone() local
3369 tls = (void *)arg[3]; in _sys_clone()
3416 thread->thread_idr = tls; in _sys_clone()

Completed in 22 milliseconds