Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/os/
H A Dpool.c150 static kmutex_t pool_mutex; /* protects pool_busy_* */ variable
203 mutex_enter(&pool_mutex); in pool_lock()
206 cv_wait(&pool_busy_cv, &pool_mutex); in pool_lock()
208 mutex_exit(&pool_mutex); in pool_lock()
214 mutex_enter(&pool_mutex); in pool_lock_intr()
217 if (cv_wait_sig(&pool_busy_cv, &pool_mutex) == 0) { in pool_lock_intr()
219 mutex_exit(&pool_mutex); in pool_lock_intr()
224 mutex_exit(&pool_mutex); in pool_lock_intr()
237 mutex_enter(&pool_mutex); in pool_unlock()
241 mutex_exit(&pool_mutex); in pool_unlock()
/illumos-gate/usr/src/cmd/picl/picld/
H A Dpicld.c112 static pthread_mutex_t pool_mutex = PTHREAD_MUTEX_INITIALIZER; variable
1004 (void) pthread_mutex_lock(&pool_mutex); in picld_server_create_fn()
1017 (void) pthread_mutex_unlock(&pool_mutex); in picld_server_create_fn()