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

/osnet-11/usr/src/lib/libc/port/rt/
H A Dmqueue.c108 sem_t mq_notempty; /* mq_receive()'s block on this */ member in struct:mq_header
266 (void) sem_init(&mqhp->mq_notempty, 1, 0);
437 (void) sem_post(&mqhp->mq_notempty);
801 (void) sem_getvalue(&mqhp->mq_notempty, &nmessages);
809 (void) sem_post(&mqhp->mq_notempty);
816 MQ_ASSERT_SEMVAL_LEQ(&mqhp->mq_notempty, ((int)mqhp->mq_maxmsg));
892 if (sem_trywait(&mqhp->mq_notempty) == -1) {
909 err = sem_wait(&mqhp->mq_notempty);
911 err = sem_timedwait(&mqhp->mq_notempty, timeout);
913 err = sem_reltimedwait_np(&mqhp->mq_notempty, timeou
[all...]

Completed in 22 milliseconds