Subject: Re: disabling PTHREAD_CONCURRENCY for 3.0
To: Manuel Bouyer <firstname.lastname@example.org>
From: Chuck Silvers <email@example.com>
Date: 12/13/2005 07:24:28
On Tue, Dec 13, 2005 at 04:03:50PM +0100, Manuel Bouyer wrote:
> 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 ?
oh, you're talking about the syscall, I was talking about the library.
the only time the library will call the syscall is if the value is not 1.