Home
last modified time | relevance | path

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

/third_party/musl/Benchmark/musl/
Dlibc_pthread.cpp448 sem_t semp; in Bm_function_Sem_timewait() local
449 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() local
462 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()