#include <kernel.h>
#include <queue.h>
#include <semaphore.h>
Go to the source code of this file.
Functions | |
syscall | signaln (semaphore sem, short count) |
Definition in file signaln.c.
syscall signaln | ( | semaphore | sem, | |
short | count | |||
) |
signaln - signal a semaphore n times, releasing n waiting processes, non-blocking
sem | id of semaphore to signal | |
count | number of times to signal |
Definition at line 20 of file signaln.c.
References sentry::count, dequeue(), disable(), isbadsem, OK, sentry::queue, ready(), RESCHED_NO, restore(), semtab, and SYSERR.
Referenced by uartIntr().