Remove EXAMPLES-title (the example was not really an example). Use .Xr for

cpu_idle(9) instead of .Fn.
This commit is contained in:
jruoho 2010-07-31 02:12:20 +00:00
parent a058514370
commit 80ac55757e
1 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cpu_need_resched.9,v 1.7 2008/05/25 19:45:43 wiz Exp $
.\" $NetBSD: cpu_need_resched.9,v 1.8 2010/07/31 02:12:20 jruoho Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd May 18, 2007
.Dd July 31, 2010
.Dt CPU_NEED_RESCHED 9
.Os
.Sh NAME
@ -59,7 +59,7 @@ is not the current processor,
.Fn cpu_need_resched
typically issues an inter processor call to the processor to make it
notice the need of a context switch as soon as possible.
.Sh EXAMPLES
.Pp
Specifically, the
.Fn cpu_need_resched
function will perform the following operations:
@ -69,10 +69,11 @@ Set a per-processor flag which is checked by
.Xr userret 9
when returning to user-mode execution.
.It
Post an asynchronous software trap (AST).
Post an asynchronous software trap
.Pq Tn AST .
.It
Send an inter processor interrupt to wake up
.Fn cpu_idle .
.Xr cpu_idle 9 .
.El
.Sh SEE ALSO
.Xr sched_4bsd 9 ,