diff options
| author | christos <christos@NetBSD.org> | 2005-02-10 23:42:37 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-02-10 23:42:37 +0000 |
| commit | b35aef8d4bb7b4ad9fa2cee4d0261665e2c40be0 (patch) | |
| tree | 3259570378ca2e94461d3e145f45ed4fd74f8c82 /lib/libpthread/pthread.c | |
| parent | 37ca47b55105308ec1c407d4b9ce7068a5495e3b (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.c | 6 |
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; |
