Home
last modified time | relevance | path

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

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