From a3672eee7a124e59bcde9a1ee486499d62da0d2d Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 11 Oct 2002 19:45:19 +0000 Subject: [PATCH] SWI_SWITCH and SWI_NOSWITCH were OBE a long time ago. --- share/man/man9/swi.9 | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9 index 360253ff1bcd..2f0faa9cbe77 100644 --- a/share/man/man9/swi.9 +++ b/share/man/man9/swi.9 @@ -123,16 +123,7 @@ The .Fa flags argument specifies how and when the handler should be run and is a mask of one or more of the following flags: -.Bl -tag -width SWI_NOSWITCH -.It Dv SWI_SWITCH -Specifies that the kernel should schedule the software interrupt thread -associated with the specified handler to run. If lightweight context switches -are in place, then the kernel will switch to this thread and run it -immediately. -.It Dv SWI_NOSWITCH -Specifies that the kernel should schedule the software interrupt thread -associated with the specified handler to run, but it should not attempt to -switch to the thread immediately. +.Bl -tag -width SWI_DELAY .It Dv SWI_DELAY Specifies that the kernel should mark the specified handler as needing to run, but the kernel should not schedule the software interrupt thread to run. @@ -142,8 +133,10 @@ will be executed the next time that the software interrupt thread runs after being scheduled by another event. Attaching a handler to the clock software interrupt thread and using this flag when scheduling a software interrupt handler can be used to implement the -functionality previously performed by -.Fn setdelayed . +functionality performed by +.Fn setdelayed +in earlier versions of +.Fx . .El .Pp The