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

/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dmtctxres.c114 static pthread_mutex_t keylock = PTHREAD_MUTEX_INITIALIZER; local
115 if (pthread_mutex_lock(&keylock) == 0) {
117 (void) pthread_mutex_unlock(&keylock);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c132 static pthread_mutex_t keylock = LIBBIND_MUTEX_INITIALIZER; local
136 if (pthread_mutex_lock(&keylock) != 0)
140 (void)pthread_mutex_unlock(&keylock);
145 if (pthread_mutex_unlock(&keylock) != 0)
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c217 static mutex_t keylock; local
225 (void) mutex_lock(&keylock);
228 (void) mutex_unlock(&keylock);
234 (void) mutex_unlock(&keylock);

Completed in 64 milliseconds