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.

Functions

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


Detailed Description

send

Id
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

Parameters:
pid process id of recipient
msg contents of message
block reschedule if BLOCK, return to call function if NOBLOCK
Returns:
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