Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/nscd/
H A Dnscd_frontend.c74 static sema_t common_sema; variable
136 if (sema_trywait(&common_sema) == 0) { in _nscd_get_clearance()
159 (void) sema_post(&common_sema); in _nscd_release_clearance()
1155 (void) sema_init(&common_sema, frontend_cfg_g.common_worker_threads, in _nscd_setup_server()
/titanic_41/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); in initialize_lookup_clearance()
160 if (sema_trywait(&common_sema) == 0) { in get_clearance()
195 (void) sema_post(&common_sema); in release_clearance()