From b9084ef40826d53bfd3a09c926b6d1c0eaf1645e Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 14 Feb 2007 12:24:20 +0000 Subject: [PATCH] * thread_pthread.ci (native_thread_create): adjust 4KB (page size) alignment. (missed at last commit) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 +++- thread_pthread.ci | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64680203a4..06e585f1d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,10 @@ -Wed Feb 14 21:12:36 2007 Koichi Sasada +Wed Feb 14 21:19:47 2007 Koichi Sasada * thread_pthread.ci (native_thread_create): adjust 4KB (page size) alignment. +Wed Feb 14 21:12:36 2007 Koichi Sasada + * thread_pthread.ci (CHECK_ERR): call rb_bug() instead of printf() and exit(). diff --git a/thread_pthread.ci b/thread_pthread.ci index 17b9a81431..c259ba4493 100644 --- a/thread_pthread.ci +++ b/thread_pthread.ci @@ -230,7 +230,7 @@ native_thread_create(rb_thread_t *th) } else { pthread_attr_t attr; - size_t stack_size = 512 * 1024 - sizeof(int); /* 512KB */ + size_t stack_size = 512 * 1024; /* 512KB */ #ifdef PTHREAD_STACK_MIN if (stack_size < PTHREAD_STACK_MIN) {