Subject: Re: disabling PTHREAD_CONCURRENCY for 3.0
To: Chuck Silvers <chuq@chuq.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 12/13/2005 16:03:50
On Tue, Dec 13, 2005 at 06:17:17AM -0800, Chuck Silvers wrote:
> > Maybe not disable it (possible backward compat issues ?) but return error
> > if the value is not 1.
>
> this setup is in pthread_init(), which returns void.
> this is called before main() as the constructor for the pthread library.
> "return an error" in this case would mean "cause the process to exit".
>
> what compatibility issue are you concerned about?
Can a program be compiled statically with an older pthread library ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--