* 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
This commit is contained in:
parent
b1c1f4957f
commit
b9084ef408
@ -1,8 +1,10 @@
|
|||||||
Wed Feb 14 21:12:36 2007 Koichi Sasada <ko1@atdot.net>
|
Wed Feb 14 21:19:47 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* thread_pthread.ci (native_thread_create): adjust 4KB (page size)
|
* thread_pthread.ci (native_thread_create): adjust 4KB (page size)
|
||||||
alignment.
|
alignment.
|
||||||
|
|
||||||
|
Wed Feb 14 21:12:36 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* thread_pthread.ci (CHECK_ERR): call rb_bug()
|
* thread_pthread.ci (CHECK_ERR): call rb_bug()
|
||||||
instead of printf() and exit().
|
instead of printf() and exit().
|
||||||
|
|
||||||
|
@ -230,7 +230,7 @@ native_thread_create(rb_thread_t *th)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
pthread_attr_t attr;
|
pthread_attr_t attr;
|
||||||
size_t stack_size = 512 * 1024 - sizeof(int); /* 512KB */
|
size_t stack_size = 512 * 1024; /* 512KB */
|
||||||
|
|
||||||
#ifdef PTHREAD_STACK_MIN
|
#ifdef PTHREAD_STACK_MIN
|
||||||
if (stack_size < PTHREAD_STACK_MIN) {
|
if (stack_size < PTHREAD_STACK_MIN) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user