From b35aef8d4bb7b4ad9fa2cee4d0261665e2c40be0 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 10 Feb 2005 23:42:37 +0000 Subject: Default back pthread__concurrency to 1 until we fix the regression test related to pthread_kill(). --- lib/libpthread/pthread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libpthread/pthread.c') 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 -__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 #include @@ -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; -- cgit