.th K_set_pil II 4/21/86
.sh NAME
K_set_pil - set pseudo-interrupt level
.sh "MODULA SYNOPSIS"
.nh
.na
 CONST new_pil: pseudo_int_levels;
.br
 VAR old_pil: pseudo_int_levels;
.br
 VAR stat: K_err_num;
.br
 . . .
.br
 stat := NK_set_pil(new_pil, old_pil);
.br
.hy
.ad
.sp
.sh "C SYNOPSIS"
.nh
.na
 pseudo_int_levels new_pil;
.br
 pseudo_init_levels old_pil;
.br
 int stat;
.br
 . . .
.br
 stat = K_set_pil (new_pil, &old_pil);
.br
.hy
.ad
.sh DESCRIPTION
K_set_pil sets the process' pseudo-interupt level to the first
argument.  The process' old pseudo-interupt level is returned in the
old_pil field.
.sh EXCEPTIONS
.lp 22 15
XbPsLev	Bad pseudo-interrupt level.
.i0
.sh "SEE ALSO"
K_post(II),
K_receive(II),
K_signal(II),
ipc_block(IIa),
pseudo_int_levels(IIa)
