Searched refs:__libc_tsd (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/lib/libc/include/
H A Dtsd.h33 struct __libc_tsd { struct
39 extern struct __libc_tsd __libc_tsd[TSD_KEYS_MAX];
/netbsd-current/lib/libc/thread-stub/
H A Dthread-stub.c284 struct __libc_tsd __libc_tsd[TSD_KEYS_MAX]; variable in typeref:struct:__libc_tsd
298 if (__libc_tsd[i].tsd_inuse == 0)
303 if (__libc_tsd[i].tsd_inuse == 0)
314 __libc_tsd[i].tsd_inuse = 1;
316 __libc_tsd[i].tsd_dtor = d;
326 __libc_tsd[k].tsd_val = __UNCONST(v);
335 return (__libc_tsd[k].tsd_val);
346 __libc_tsd[k].tsd_dtor = NULL;
/netbsd-current/lib/libpthread/
H A Dpthread_tsd.c390 if (__libc_tsd[key].tsd_inuse == 0)
394 pthread__tsd_destructors[key] = __libc_tsd[key].tsd_dtor ?
395 __libc_tsd[key].tsd_dtor : null_destructor;
400 pt->pts_value = __libc_tsd[key].tsd_val;
401 __libc_tsd[key].tsd_inuse = 0;

Completed in 121 milliseconds