Did that a few days ago, default stack is 65536.
Quoting Kir Kolyshkin ([EMAIL PROTECTED]):
> Thanx!
>
> Can you compile/run the attached program on your box?
> On linux it shows 2093056, so I believe setstacksize
> should be conditional.
>
> John Capo �����(�):
> >
> > Patch is attached.
> >
> > Probably related, I can not run index with more than 1 thread. I
> > am going to increase thread stack sizes in index and see if that
> > helps.
> >
> > John Capo
>
> --
> [EMAIL PROTECTED] ICQ 7551596 Phone +7 095 6722750
> Reality always seems harsher in the early morning.
> --
> #include <pthread.h>
> #include <stdio.h>
>
> int main(void)
> {
> pthread_attr_t attr;
> int value;
> pthread_attr_init(&attr);
> pthread_attr_getstacksize(&attr, &value);
> printf("thread stack size: %d\n", value);
> return 0;
> }
John Capo Embedded Hardware/Software Design
IRBS Engineering, Inc. Unix/Internet Consulting