summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-08-13 14:51:17 +0000
committerru <ru@FreeBSD.org>2002-08-13 14:51:17 +0000
commitd74861f9851309c4bc041e3b19a2c8ba5980167d (patch)
treea441940b8eeb35b2914f2201c7b6061d7d0fd443 /share
parent1914fd64c657299d0a604cb4fbd4ce7402293a60 (diff)
downloadFreeBSD-src-d74861f9851309c4bc041e3b19a2c8ba5980167d.zip
FreeBSD-src-d74861f9851309c4bc041e3b19a2c8ba5980167d.tar.gz
mdoc(7) police: tidy up formatting.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/mi_switch.924
1 files changed, 13 insertions, 11 deletions
diff --git a/share/man/man9/mi_switch.9 b/share/man/man9/mi_switch.9
index 988c02f..4219c60 100644
--- a/share/man/man9/mi_switch.9
+++ b/share/man/man9/mi_switch.9
@@ -66,8 +66,7 @@ can be enumerated as follows:
.Bl -enum -offset indent
.It
from within
-.Xr sleep 9
-,
+.Xr sleep 9 ,
.Xr tsleep 9
and
.Xr msleep 9
@@ -91,14 +90,14 @@ in the signal handling code
(see
.Xr issignal 9 )
if a signal is delivered that causes a process to stop.
-.It
-When a thread dies in
+.It
+When a thread dies in
.Xr thread_exit 9
and control of the processor can be passed to the next runnable thread.
.It
In
.Xr thread_suspend_check 9
-where a thread needs to stop execution due to the suspension state of
+where a thread needs to stop execution due to the suspension state of
the process as a whole.
.El
.Pp
@@ -114,13 +113,16 @@ signal to be posted to the process, while exceeding the hard limit will
cause a
.Dv SIGKILL .
.Pp
-If the thread is still in
-.Em TDS_RUNNING
-state mi_switch will put it back onto the run queue, assuming that
-it will want to run again soon. If it is in one of the other
-states and KSE threading is enabled, the associated
+If the thread is still in the
+.Dv TDS_RUNNING
+state,
+.Fn mi_switch
+will put it back onto the run queue, assuming that
+it will want to run again soon.
+If it is in one of the other
+states and KSE threading is enabled, the associated
.Em KSE
-will be made available to to any higher priority threads from the same
+will be made available to any higher priority threads from the same
group, to allow them to be scheduled next.
.Pp
After these administrative tasks are done,
OpenPOWER on IntegriCloud