Searched refs:common_sema (Results 1 – 2 of 2) sorted by relevance
74 static sema_t common_sema; variable136 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()
140 static sema_t common_sema; variable150 (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()