This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: pthread_attr_setstacksize limitation
Jakub Jelinek wrote:
> On Fri, Jul 26, 2002 at 03:35:18PM -0600, Vincent Cassi wrote:
> > Hi,
> >
> > The pthread_attr_setstacksize function failed if the size used is bigger
> > than 2 Mb.
> >
> > Is there a reason to have this limit ?
> > Is it possible to change it in the kernel source ?
>
> It is enough if you just use an {i686,alpha*,sparc*,s390*,ia64}-*-*
> configured glibc (on i686 built with --enable-kernel=2.4.1 or later).
>
> Jakub
Thanks for the quick answer but I do not understand what you mean.
By enough, do you mean I don't have to use a stack size bigger than 2Mb ?
Or do you mean it will be ok if I use a kernel later than 2.4.1. ?
BTW, I use a 2.4.19-rcl kernel on a i686.
Thanks,
Vincent