Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2004 18:52:13 +0200
From:      Petri Helenius <pete@he.iki.fi>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthread_create() blocks if maxthreads reached?
Message-ID:  <401D2EBD.2030609@he.iki.fi>
In-Reply-To: <20040201152105.GA2370@crodrigues.org>
References:  <20040201061212.GA6349@crodrigues.org> <Pine.BSF.4.21.0401312317590.38031-100000@InterJet.elischer.org> <20040201152105.GA2370@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Craig Rodrigues wrote:

>Understood.  Keep in mind, I am trying to "kick the tires"
>on libpthread, to see how it reacts on crazy corner cases.
>I can certainly increase the values of these sysctls,
>but I think that pthread_create() should not block if
>it hits a limit.
>
>  
>
I agree here, pthread_create() should not get blocked sitting somewhere 
because
it would easily lead to situations where a "main" thread spawning off 
children
is blocked and cannot report errors or pthread_join() threads that terminate
because of itīs blocked.

Pete




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401D2EBD.2030609>