Searched refs:semp (Results 1 – 1 of 1) sorted by relevance
448 sem_t semp; in Bm_function_Sem_timewait() local449 sem_init(&semp, 0, 1); in Bm_function_Sem_timewait()454 sem_timedwait(&semp, &spec); in Bm_function_Sem_timewait()456 sem_destroy(&semp); in Bm_function_Sem_timewait()461 sem_t semp; in Bm_function_Sem_post_wait() local462 sem_init(&semp, 0, 0); in Bm_function_Sem_post_wait()467 sem_post(&semp); in Bm_function_Sem_post_wait()468 sem_wait(&semp); in Bm_function_Sem_post_wait()470 sem_destroy(&semp); in Bm_function_Sem_post_wait()