Searched refs:cons_sem (Results 1 – 2 of 2) sorted by relevance
15 sem_init(&mbox->cons_sem, 0); /* No slots full */ in mbox_init()39 sem_up(&mbox->cons_sem); in mbox_post()49 t = sem_down(&mbox->cons_sem, timeout); in mbox_fetch()
20 struct semaphore cons_sem; /* Consumer semaphore (data slots) */ member