Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/signaln.c File Reference

#include <kernel.h>
#include <queue.h>
#include <semaphore.h>

Include dependency graph for signaln.c:

Go to the source code of this file.

Functions

syscall signaln (semaphore sem, short count)


Detailed Description

signaln

Id
signaln.c 226 2007-07-12 01:18:27Z mschul

Definition in file signaln.c.


Function Documentation

syscall signaln ( semaphore  sem,
short  count 
)

signaln - signal a semaphore n times, releasing n waiting processes, non-blocking

Parameters:
sem id of semaphore to signal
count number of times to signal
Returns:
OK on success, SYSERR on failure

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().


Generated on Thu Oct 9 22:35:13 2008 for xinu by  doxygen 1.5.5