summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-02-10 23:42:37 +0000
committerchristos <christos@NetBSD.org>2005-02-10 23:42:37 +0000
commitb35aef8d4bb7b4ad9fa2cee4d0261665e2c40be0 (patch)
tree3259570378ca2e94461d3e145f45ed4fd74f8c82 /lib/libpthread/pthread.c
parent37ca47b55105308ec1c407d4b9ce7068a5495e3b (diff)
Default back pthread__concurrency to 1 until we fix the regression test
related to pthread_kill().
Diffstat (limited to 'lib/libpthread/pthread.c')
-rw-r--r--lib/libpthread/pthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread.c b/lib/libpthread/pthread.c
index 2c1370523c0..2246b31c986 100644
--- a/lib/libpthread/pthread.c
+++ b/lib/libpthread/pthread.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.c,v 1.39 2005/02/10 02:20:49 christos Exp $ */
+/* $NetBSD: pthread.c,v 1.40 2005/02/10 23:42:37 christos Exp $ */
/*-
* Copyright (c) 2001,2002,2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.39 2005/02/10 02:20:49 christos Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.40 2005/02/10 23:42:37 christos Exp $");
#include <err.h>
#include <errno.h>
@@ -152,7 +152,7 @@ pthread_init(void)
/* Find out requested/possible concurrency */
p = getenv("PTHREAD_CONCURRENCY");
- pthread__maxconcurrency = p ? atoi(p) : ncpu;
+ pthread__maxconcurrency = p ? atoi(p) : 1;
if (pthread__maxconcurrency < 1)
pthread__maxconcurrency = 1;