Searched refs:sem_wait (Results 1 – 12 of 12) sorted by relevance
42 sem_wait(&semaphore); in BM_semaphore_sem_wait_sem_post()
47 FUNCTION(sem_wait, int (*f)(sem_t*)); in semaphore_h()
74 ASSERT_EQ(0, sem_wait(&sem)); in SemWaitThreadTestFn()192 ASSERT_EQ(0, sem_wait(&s)); in TEST()207 int result = sem_wait(sem); in SemWaitEINTRThreadFn()
1520 sem_wait(sem); in TEST()
64 int sem_wait(sem_t* _Nonnull __sem);
214 int sem_wait(sem_t* sem) { in sem_wait() function
266 if (TEMP_FAILURE_RETRY(sem_wait(&g_sem)) != 0) { in android_run_on_all_threads()
209 * `sem_wait` now returns EINTR when interrupted by a signal.384 ### Interruptable `sem_wait` (targetSdkVersion >= 24)386 POSIX says that `sem_wait` can be interrupted by delivery of a389 compatibility, `sem_wait` can only return EINTR on Android if the app
900 sem_wait
911 sem_wait;
3593 CALL(sem_wait)