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

Go to the source code of this file.
| Functions | |
| syscall | send (ushort pid, long msg, bool block) | 
Definition in file send.c.
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 | 
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().
 1.5.5
 1.5.5