sem_wait
int sem_wait(sem_t *);
FB10_COMPAT(_libc_sem_wait_compat, sem_wait);
__weak_reference(_sem_wait, sem_wait);
FB10_COMPAT(_sem_wait_compat, sem_wait);
ATF_REQUIRE_EQ(0, sem_wait(&completions));
ATF_REQUIRE_EQ(0, sem_wait(&completions));
ATF_REQUIRE_EQ(0, sem_wait(&completions));
if (-1 == sem_wait(&chunk_sems[thread_num - 1][chunk_idx])){
if (-1 == sem_wait(&chunk_sems[chunk_idx])){
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem1);
EXPECT_EQ(0, sem_wait(&sem0)) << strerror(errno);
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem1);
sem_wait(&sem0);
sem_wait(&sem0);
sem_wait(&sem1); /* Sequence the two operations */
sem_wait(&sem0);
sem_wait(&sem1); /* Sequence the two operations */
sem_wait(signaled_semaphore);
sem_wait(&sem0);
sem_wait(&sem1); /* Sequence the two mkdirs */
sem_wait(blocked_semaphore);
sem_wait(sem);
sem_wait(sem);
sem_wait(sem);
sem_wait(sem);
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem0);
sem_wait(&sem0);
ASSERT_EQ(0, sem_wait(&sem)) << strerror(errno);
ASSERT_EQ(0, sem_wait(&sem)) << strerror(errno);
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem);
sem_wait(&sem);
ASSERT_EQ(0, sem_wait(&sem)) << strerror(errno);
sem_wait(&sem);
sem_wait(&sem);
if (sem_wait(sem)) {
sem_wait(&killer_semaphore);
sem_wait(&sem2);
sem_wait(&sem1);
err = sem_wait(&sigusr1_sem);
err = sem_wait(&sigusr1_sem);
err = sem_wait(&sigusr1_sem);
err = sem_wait(&sigusr1_sem);
err = sem_wait(&sigusr1_sem);
if (sem_wait(s))
if (sem_wait(s))
sem_wait(&sem);
error = sem_wait(&buf[0]);
error = sem_wait(&buf[1]);
sem_wait(&tmp_files_sem);
sem_wait(&mtsem);
sem_wait(&tmp_files_sem);
sem_wait(&tmp_files_sem);
sem_wait(&mtsem);
sem_wait(&sc->iosemlock);
if ((sem_wait(&camdd_sem) == -1)
sem_wait(&sem_select);
sem_wait(&sem_select);