summaryrefslogtreecommitdiffstats
path: root/thread_pthread.ci
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-14 12:24:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-14 12:24:20 +0000
commit5783ed6afbb25d183efcd9d28340b86012bd0296 (patch)
tree717fa058d32368da388a11c2ca9864532056fe66 /thread_pthread.ci
parenta165ca6c020a76c7620a986b9bef7a2115dc37fd (diff)
downloadruby-5783ed6afbb25d183efcd9d28340b86012bd0296.tar.gz
ruby-5783ed6afbb25d183efcd9d28340b86012bd0296.tar.xz
ruby-5783ed6afbb25d183efcd9d28340b86012bd0296.zip
* thread_pthread.ci (native_thread_create): adjust 4KB (page size)
alignment. (missed at last commit) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r--thread_pthread.ci2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci
index 17b9a8143..c259ba449 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) {