Searched refs:common_sema (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c74 static sema_t common_sema; variable
136 if (sema_trywait(&common_sema) == 0) {
159 (void) sema_post(&common_sema);
1155 (void) sema_init(&common_sema, frontend_cfg_g.common_worker_threads,
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c140 static sema_t common_sema; variable
150 (void) sema_init(&common_sema, COMMON_THREADS, USYNC_THREAD, 0);
160 if (sema_trywait(&common_sema) == 0) {
195 (void) sema_post(&common_sema);

Completed in 772 milliseconds