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

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Derror.c47 static thread_key_t errkey = THR_ONCE_KEY; variable
69 (void) thr_keycreate_once(&errkey, 0);
70 (void) thr_setspecific(errkey, (void *)encerr);
79 return ((uintptr_t)pthread_getspecific(errkey));
/illumos-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c49 static thread_key_t errkey = THR_ONCE_KEY; variable
300 (void) thr_keycreate_once(&errkey, 0);
301 (void) thr_setspecific(errkey, (void *)(intptr_t)errval);
309 if (errkey == THR_ONCE_KEY)
311 return ((int)(uintptr_t)pthread_getspecific(errkey));
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c116 static thread_key_t errkey = THR_ONCE_KEY; variable
613 (void) thr_keycreate_once(&errkey, 0);
614 (void) thr_setspecific(errkey, (void *)(intptr_t)errval);
626 if (errkey == THR_ONCE_KEY)
628 return ((uintptr_t)pthread_getspecific(errkey));

Completed in 67 milliseconds