Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 12:00:03 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthread_create() blocks if maxthreads reached?
Message-ID:  <Pine.GSO.4.10.10402011159280.524-100000@pcnet5.pcnet.com>
In-Reply-To: <401D2EBD.2030609@he.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Feb 2004, Petri Helenius wrote:

> Craig Rodrigues wrote:
>=20
> >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.
> >
> > =20
> >
> I agree here, pthread_create() should not get blocked sitting somewhere=
=20
> because
> it would easily lead to situations where a "main" thread spawning off=20
> children
> is blocked and cannot report errors or pthread_join() threads that termin=
ate
> because of it=B4s blocked.

Arghh.  pthread_create() isn't blocking!  Please see my other
reply.

--=20
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10402011159280.524-100000>