Searched refs:BM_semaphore_sem_post_running (Results 1 - 1 of 1) sorted by relevance

/bionic/benchmarks/
H A Dsemaphore_benchmark.cpp70 static atomic_int BM_semaphore_sem_post_running; variable
74 while ((BM_semaphore_sem_post_running > 0) && !sem_wait(semaphore)) {
76 BM_semaphore_sem_post_running = -1;
98 BM_semaphore_sem_post_running = 1;
104 if (BM_semaphore_sem_post_running > 0) {
105 BM_semaphore_sem_post_running = 0;
110 } while (BM_semaphore_sem_post_running != -1);
123 if (BM_semaphore_sem_post_running < 0) {

Completed in 4003 milliseconds