Searched defs:errkey (Results 1 - 2 of 2) sorted by relevance

/osnet-11/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));
/osnet-11/usr/src/lib/libpool/common/
H A Dpool.c113 static thread_key_t errkey = THR_ONCE_KEY; variable
610 (void) thr_keycreate_once(&errkey, 0);
611 (void) thr_setspecific(errkey, (void *)(intptr_t)errval);
623 if (errkey == THR_ONCE_KEY)
625 return ((uintptr_t)pthread_getspecific(errkey));

Completed in 29 milliseconds