Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread pthread(3): mention that we use 1:1 threading...



details:   https://anonhg.NetBSD.org/src/rev/cc9eb0752f8e
branches:  trunk
changeset: 747923:cc9eb0752f8e
user:      rmind <rmind%NetBSD.org@localhost>
date:      Mon Oct 05 23:35:42 2009 +0000

description:
pthread(3): mention that we use 1:1 threading model; remove descriptions
of no longer used environment variables.

diffstat:

 lib/libpthread/pthread.3 |  22 +++++++++-------------
 1 files changed, 9 insertions(+), 13 deletions(-)

diffs (57 lines):

diff -r ffc56169c75d -r cc9eb0752f8e lib/libpthread/pthread.3
--- a/lib/libpthread/pthread.3  Mon Oct 05 23:33:48 2009 +0000
+++ b/lib/libpthread/pthread.3  Mon Oct 05 23:35:42 2009 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index