Subject: Re: is PT_STACKSIZE too small?
To: Love <firstname.lastname@example.org>
From: Nathan J. Williams <email@example.com>
Date: 06/25/2003 18:27:29
Love <firstname.lastname@example.org> writes:
> "Nathan J. Williams" <email@example.com> writes:
> > Jason Thorpe <firstname.lastname@example.org> writes:
> >> I suppose my biggest question here is: Why does ThreadedX=yes cause
> >> libpthread to be pulled in? ThreadedX is supposed to be using the
> >> <threadlib.h> stubs.
> > On a related note, I've started wondering if the layer of
> > pseudo-abstraction provided by <threadlib.h> is worthwhile.
> > Having another
> > set of names that will, as far as I can tell, always map to pthreads
> > seems silly.
> I think the property they give are worth while . IE libraries always can use
> thread primities and application decides if it wants -pthread or not.
That property is definitely valuable. However, even currently that is
being accomplished with a set of weak stubs for *p*thread routines in
libc - the threadlib stuff is only operating at the preprocessor level.