Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Use more markup.
details: https://anonhg.NetBSD.org/src/rev/6ba683d0d70f
branches: trunk
changeset: 778050:6ba683d0d70f
user: jruoho <jruoho%NetBSD.org@localhost>
date: Wed Mar 14 13:24:48 2012 +0000
description:
Use more markup.
diffstat:
lib/libc/sys/_lwp_ctl.2 | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diffs (58 lines):
diff -r d7c32b8225da -r 6ba683d0d70f lib/libc/sys/_lwp_ctl.2
--- a/lib/libc/sys/_lwp_ctl.2 Wed Mar 14 12:01:53 2012 +0000
+++ b/lib/libc/sys/_lwp_ctl.2 Wed Mar 14 13:24:48 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: _lwp_ctl.2,v 1.3 2009/02/17 18:51:56 njoly Exp $
+.\" $NetBSD: _lwp_ctl.2,v 1.4 2012/03/14 13:24:48 jruoho Exp $
.\"
.\" Copyright (c)2007 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" SUCH DAMAGE.
.\"
.\" ------------------------------------------------------------
-.Dd May 5, 2008
+.Dd March 14, 2012
.Dt _LWP_CTL 2
.Os
.Sh NAME
@@ -50,19 +50,25 @@
The bitwise-OR of the following flags.
.Bl -tag -width LWPCTL_FEATURE_CURCPU
.It Dv LWPCTL_FEATURE_CURCPU
-Request lc_curcpu.
+Request
+.Vt lc_curcpu .
.It Dv LWPCTL_FEATURE_PCTR
-Request lc_pctr.
+Request
+.Vt lc_pctr .
.El
.It Fa address
-The address to store a pointer to lwpctl structure for the calling LWP.
+The address to store a pointer to
+.Vt lwpctl
+structure for the calling LWP.
.El
.Pp
-The per-LWP communication area is described by an lwpctl structure.
+The per-LWP communication area is described by an
+.Vt lwpctl
+structure.
It has following members, depending on
.Fa features .
.Bl -tag -width int_lc_curcpu
-.It int lc_curcpu
+.It Vt int lc_curcpu
The integral identifier of the CPU on which the LWP is running,
or
.Dv LWPCTL_CPU_NONE
@@ -72,7 +78,7 @@
It's available only if requested with the
.Dv LWPCTL_FEATURE_CURCPU
flag.
-.It int lc_pctr
+.It Vt int lc_pctr
The integer which is incremented on every context switches to the LWP.
It can be used to detect preemption of the LWP.
(thus its name "preemption counter".)
Home |
Main Index |
Thread Index |
Old Index