Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dsemaphore_benchmark.cpp71 static atomic_int BM_semaphore_sem_post_running; variable
75 while ((BM_semaphore_sem_post_running > 0) && !sem_wait(semaphore)) { in BM_semaphore_sem_post_start_thread()
77 BM_semaphore_sem_post_running = -1; in BM_semaphore_sem_post_start_thread()
99 BM_semaphore_sem_post_running = 1; in SetUp()
108 if (BM_semaphore_sem_post_running > 0) { in ~SemaphoreFixture()
109 BM_semaphore_sem_post_running = 0; in ~SemaphoreFixture()
114 } while (BM_semaphore_sem_post_running != -1); in ~SemaphoreFixture()