> I usually have:
>
> #ifdef __OpenBSD__
>     size_t stacksize;
>     pthread_attr_getstacksize(&attr, &stacksize);
>     pthread_attr_setstacksize(&attr, stacksize * 2);
> #endif
>
> in my threaded stuff.
>
Hello.

AFAIK Posix says nothing about default thread stack.
So you  should use pthread_attr_setstacksize most of the times.

Regards Valery

Reply via email to