Module Name: src
Committed By: rmind
Date: Mon Oct 5 23:35:42 UTC 2009
Modified Files:
src/lib/libpthread: pthread.3
Log Message:
pthread(3): mention that we use 1:1 threading model; remove descriptions
of no longer used environment variables.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libpthread/pthread.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread.3
diff -u src/lib/libpthread/pthread.3:1.11 src/lib/libpthread/pthread.3:1.12
--- src/lib/libpthread/pthread.3:1.11 Thu Apr 16 18:37:30 2009
+++ src/lib/libpthread/pthread.3 Mon Oct 5 23:35:42 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread.3,v 1.11 2009/04/16 18:37:30 wiz Exp $
+.\" $NetBSD: pthread.3,v 1.12 2009/10/05 23:35:42 rmind Exp $
.\"
.\" Copyright (c) 2003, 2007, 2009 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 April 16, 2009
+.Dd October 6, 2009
.Dt PTHREAD 3
.Os
.Sh NAME
@@ -48,7 +48,13 @@
.Nm
library provides an implementation of the standard
.Tn POSIX
-threads framework.
+threads library.
+.Pp
+The
+.Nx
+implementation is based on 1:1 thread model, therefore each
+.Nm
+has a kernel thread, called a light-weight process (LWP).
.Pp
Note that the system private thread interfaces upon which the
.Nm
@@ -62,11 +68,6 @@
threads framework may not work when run on a future version of the system.
.Sh ENVIRONMENT
.Bl -tag -width PTHREAD_DEBUGCOUNTERSXX
-.It Ev PTHREAD_CONCURRENCY
-The current version of the system does not inspect this variable.
-It is reserved for use by the
-.Nm
-library.
.It Ev PTHREAD_DIAGASSERT
Possible values are any combinations of:
.Pp
@@ -92,11 +93,6 @@
library behaves as if
.Sy AEL
has been specified.
-.It Ev PTHREAD_RRTIME
-The current version of the system does not inspect this variable.
-It is reserved for use by the
-.Nm
-library.
.It Ev PTHREAD_STACKSIZE
Integer value giving the stack size in kilobytes.
This allows to set a smaller stack size than the default stack size.