kproc(9) and sleep(9) corrections
This commit is contained in:
parent
0bc963f928
commit
6cf9fb7b80
|
@ -56,8 +56,6 @@ Use the following to terminate a kernel process normally:
|
||||||
pexit("", 1);
|
pexit("", 1);
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
to terminate a kernel process normally.
|
|
||||||
.PP
|
|
||||||
.I Postnote
|
.I Postnote
|
||||||
sends a software interrupt to process
|
sends a software interrupt to process
|
||||||
.IR p ,
|
.IR p ,
|
||||||
|
|
|
@ -91,16 +91,6 @@ structure, for example:
|
||||||
.IP
|
.IP
|
||||||
.B tsleep(&up->sleep, return0, nil, 10);
|
.B tsleep(&up->sleep, return0, nil, 10);
|
||||||
.PP
|
.PP
|
||||||
Both
|
|
||||||
.I sleep
|
|
||||||
and
|
|
||||||
.I tsleep
|
|
||||||
can be interrupted by
|
|
||||||
.IR swiproc
|
|
||||||
(see
|
|
||||||
.IR kproc (9)),
|
|
||||||
causing a non-local goto through a call to
|
|
||||||
.IR error (9).
|
|
||||||
.SH SOURCE
|
.SH SOURCE
|
||||||
.B /sys/src/9/port/proc.c
|
.B /sys/src/9/port/proc.c
|
||||||
.br
|
.br
|
||||||
|
|
Loading…
Reference in a new issue