Searched refs:__local_tcb (Results 1 – 2 of 2) sorted by relevance
194 __thread __gthread_t __local_tcb = NULL; variable199 if (!__local_tcb) in __gthread_self()202 __local_tcb = malloc (sizeof (*__local_tcb)); in __gthread_self()203 if (!__local_tcb) in __gthread_self()206 if (__init_gthread_tcb (__local_tcb) != OK) in __gthread_self()208 __delete_gthread_tcb (&__local_tcb); in __gthread_self()213 __local_tcb->task_id = taskIdSelf (); in __gthread_self()215 return __local_tcb; in __gthread_self()224 __local_tcb = tcb; in __task_wrapper()
234 __thread __gthread_t __local_tcb = NULL; variable239 if (!__local_tcb) in __gthread_self()242 __local_tcb = malloc (sizeof (*__local_tcb)); in __gthread_self()243 if (!__local_tcb) in __gthread_self()246 if (__init_gthread_tcb (__local_tcb) != OK) in __gthread_self()248 __delete_gthread_tcb (&__local_tcb); in __gthread_self()253 __local_tcb->task_id = taskIdSelf (); in __gthread_self()255 return __local_tcb; in __gthread_self()264 __local_tcb = tcb; in __task_wrapper()