From 15a4e160f2f3235475bea937c22de36d9cd6ea26 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 4 Feb 2015 22:51:34 -0700 Subject: [PATCH] threads.c: re-enable code to set the stack size on posix. Default stack size on OS X 10.10 isn't large enough --- common/threads.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/threads.c b/common/threads.c index fbf0fc76..3286ebb2 100644 --- a/common/threads.c +++ b/common/threads.c @@ -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)