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

/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c111 sem_t mq_notempty; /* mq_receive()'s block on this */ member in struct:mq_header
195 (void) sem_init(&mqhp->mq_notempty, 1, 0);
366 (void) sem_post(&mqhp->mq_notempty);
742 (void) sem_getvalue(&mqhp->mq_notempty, &nmessages);
750 (void) sem_post(&mqhp->mq_notempty);
757 MQ_ASSERT_SEMVAL_LEQ(&mqhp->mq_notempty, ((int)mqhp->mq_maxmsg));
833 if (sem_trywait(&mqhp->mq_notempty) == -1) {
850 err = sem_wait(&mqhp->mq_notempty);
852 err = sem_timedwait(&mqhp->mq_notempty, timeout);
854 err = sem_reltimedwait_np(&mqhp->mq_notempty, timeou
[all...]

Completed in 45 milliseconds