Home
last modified time | relevance | path

Searched refs:__local_tcb (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/
H A Dgthr-vxworks-thread.c194 __thread __gthread_t __local_tcb = NULL; variable
199 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()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/
H A Dgthr-vxworks-thread.c234 __thread __gthread_t __local_tcb = NULL; variable
239 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()