+
+ pthread_attr_init(&attr);
+ if(pthread_attr_setstacksize(&attr, 8388608) != 0)
+ {
+ stacksize = 0;
+ pthread_attr_getstacksize(&attr, &stacksize);
+ Sys_Printf("Could not set a per-thread stack size of 8 MB, using only %.2f MB\n", stacksize / 1048576.0);
+ }