summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authordaniel <daniel@NetBSD.org>2005-02-01 11:38:27 +0000
committerdaniel <daniel@NetBSD.org>2005-02-01 11:38:27 +0000
commit760b46e0e988f1e4891e92efcf37f82f90d3adbb (patch)
tree70e3d341d398fe0703ea771886c0cd17ad823fe2 /lib/libpthread
parent0a58d4b08d346931f6351b4d9a581229544bde2a (diff)
Document PTHREAD_CONCURRENCY, ack by wiz@.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libpthread/pthread.3 b/lib/libpthread/pthread.3
index b6e01444658..004b98a194a 100644
--- a/lib/libpthread/pthread.3
+++ b/lib/libpthread/pthread.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread.3,v 1.3 2003/11/27 16:30:54 cl Exp $
+.\" $NetBSD: pthread.3,v 1.4 2005/02/01 11:38:27 daniel Exp $
.\"
.\" Copyright (c) 2003 Hubert Feyrer <hubertf@NetBSD.org>
.\" and Thomas Klausner <wiz@NetBSD.org>
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd November 27, 2003
+.Dd February 1, 2005
.Dt PTHREAD 3
.Os
.Sh NAME
@@ -54,6 +54,10 @@ in the
kernel, providing a kernel-supported MxN scheduling system.
.Sh ENVIRONMENT
.Bl -tag -width PTHREAD_DEBUGCOUNTERSXX -compact
+.It Ev PTHREAD_CONCURRENCY
+The number of concurrent threads to be run.
+This value should at least be 1,
+and smaller than or equal to the number of CPUs.
.It Ev PTHREAD_DIAGASSERT
Possible values are any combinations of:
.Bl -tag -width ignoreXX -offset indent -compact