aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 76f033771c..36fa73cd94 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1480,9 +1480,9 @@ rb_thread_create_timer_thread(void)
}
# ifdef PTHREAD_STACK_MIN
{
-# define TIMER_THREAD_STACK_MIN_SIZE (4096 * 3)
+# define TIMER_THREAD_STACK_MIN_SIZE (4096 * 4)
/* Allocate the machine stack for the timer thread
- * at least 12KB (3 pages). FreeBSD 8.2 AMD64 causes
+ * at least 16KB (4 pages). FreeBSD 8.2 AMD64 causes
* machine stack overflow only with PTHREAD_STACK_MIN.
*/
# if TIMER_THREAD_STACK_MIN_SIZE < PTHREAD_STACK_MIN