Searched refs:semaphore_try_wait (Results 1 – 6 of 6) sorted by relevance
50 EXPECT_TRUE(semaphore_try_wait(semaphore)); in TEST_F()51 EXPECT_TRUE(semaphore_try_wait(semaphore)); in TEST_F()52 EXPECT_TRUE(semaphore_try_wait(semaphore)); in TEST_F()53 EXPECT_FALSE(semaphore_try_wait(semaphore)); in TEST_F()62 EXPECT_FALSE(semaphore_try_wait(semaphore)); in TEST_F()64 EXPECT_TRUE(semaphore_try_wait(semaphore)); in TEST_F()65 EXPECT_FALSE(semaphore_try_wait(semaphore)); in TEST_F()85 EXPECT_FALSE(semaphore_try_wait(semaphore)); in TEST_F()
154 if (!semaphore_try_wait(queue->enqueue_sem)) return false; in fixed_queue_try_enqueue()168 if (!semaphore_try_wait(queue->dequeue_sem)) return NULL; in fixed_queue_try_dequeue()203 semaphore_try_wait(queue->dequeue_sem)) { in fixed_queue_try_remove_from_queue()
46 bool semaphore_try_wait(semaphore_t* semaphore);
68 void semaphore_try_wait(btsemaphore &s);
36 void semaphore_try_wait(btsemaphore &s) { in semaphore_try_wait() function
72 bool semaphore_try_wait(semaphore_t* semaphore) { in semaphore_try_wait() function