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

#include <kernel.h>
#include <proc.h>

Include dependency graph for send.c:

Go to the source code of this file.


syscall send (ushort pid, long msg, bool block)

Detailed Description


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

Definition in file send.c.

Function Documentation

syscall send ( ushort  pid,
long  msg,
bool  block 

send - pass a message to another process mailbox

pid process id of recipient
msg contents of message
block reschedule if BLOCK, return to call function if NOBLOCK
OK on success, SYSERR on failure

Definition at line 19 of file send.c.

References BLOCK, disable(), FALSE, pentry::hasmsg, isbadpid, pentry::msg, OK, PRFREE, proctab, PRRECV, ready(), resched(), RESCHED_NO, restore(), pentry::state, SYSERR, and TRUE.

Referenced by kill().

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