.th K_post II 4/21/86
.sh NAME
K_post - send inter-process communication (IPC) message or generate pseudo-interrupt
.sh "MODULA SYNOPSIS"
.nh
.na
 CONST receiver: seid;
.br
 CONST psInt: boolean;
.br
 CONST msg: msg_struct;
.br
 VAR stat: K_err_num;
.br
 . . .
.br
 stat := NK_post(receiver, psInt, msg);
.br
.hy
.ad
.sp
.sh "C SYNOPSIS"
.nh
.na
 seid receiver;
.br
 boolean psInt;
.br
 msg_struct msg;
.br
 int stat;
.br
 . . .
.br
 stat = K_post (receiver, psInt, &msg);
.br
.hy
.ad
.sh DESCRIPTION
K_post sends a short message to another process specified by the seid
receiver.  A pseudo interrupt is asserted at the destination process,
if selected, and if the receiving process has IPC pseudo interrupts
enabled (i.e.  that its pseudo-interrupt level is sufficiently low to
allow pseudo interrupts).  If the parameter psInt is set to TRUE it
indicates that this is a pseudo interrupt, if set to FALSE it indicates
that this is an IPC (TRUE, FALSE, and the type boolean are defined in
the include file KERcalls.h).  A header is attached to the message
indicating the SEID of the originating process.
.sp
The type independent information for the two processes is used to
determine rights of the originating process to communicate with the
destination process.
.sh EXCEPTIONS
.lp 22 15
XbPrSd	Destination process does not exist or is not accessible by
calling process, or message cannot be delivered due to system resource
exhaustion.
.i0
.sh "FILES"
KERcalls.h
.sh "SEE ALSO"
K_interrupt_return(II),
K_set_pil(II),
K_signal(II),
K_receive(II),
ipc_block(IIa),

