threads.c: re-enable code to set the stack size on posix. Default stack size on OS X 10.10 isn't large enough
This commit is contained in:
parent
c51326e8b0
commit
15a4e160f2
|
|
@ -233,11 +233,9 @@ RunThreadsOn(int start, int workcnt, void *(func)(void *), void *arg)
|
|||
status = pthread_attr_init(&attrib);
|
||||
if (status)
|
||||
Error("pthread_attr_init failed");
|
||||
#if 0
|
||||
status = pthread_attr_setstacksize(&attrib, 0x100000);
|
||||
if (status)
|
||||
Error("pthread_attr_setstacksize failed");
|
||||
#endif
|
||||
|
||||
threads = malloc(sizeof(*threads) * numthreads);
|
||||
if (!threads)
|
||||
|
|
|
|||
Loading…
Reference in New Issue