Searched refs:common_sema (Results 1 – 2 of 2) sorted by relevance
76 static sema_t common_sema; variable142 if (sema_trywait(&common_sema) == 0) { in _nscd_get_clearance()166 (void) sema_post(&common_sema); in _nscd_release_clearance()1162 (void) sema_init(&common_sema, frontend_cfg_g.common_worker_threads, in _nscd_setup_server()
141 static sema_t common_sema; variable151 (void) sema_init(&common_sema, COMMON_THREADS, USYNC_THREAD, 0); in initialize_lookup_clearance()161 if (sema_trywait(&common_sema) == 0) { in get_clearance()196 (void) sema_post(&common_sema); in release_clearance()