Subject: Re: is PT_STACKSIZE too small?
To: Love <email@example.com>
From: Nathan J. Williams <firstname.lastname@example.org>
Date: 06/25/2003 18:27:29
Love <email@example.com> writes:
> "Nathan J. Williams" <firstname.lastname@example.org> writes:
> > Jason Thorpe <email@example.com> 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.