* vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
18bc6c31a1
commit
ac397a9eee
@ -1,3 +1,7 @@
|
|||||||
|
Sat Jul 30 11:21:55 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
|
||||||
|
|
||||||
Sat Jul 30 10:39:14 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Sat Jul 30 10:39:14 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* vm.c (th_init): preallocate alternative stack.
|
* vm.c (th_init): preallocate alternative stack.
|
||||||
|
@ -383,8 +383,8 @@ struct rb_unblock_callback {
|
|||||||
|
|
||||||
struct rb_mutex_struct;
|
struct rb_mutex_struct;
|
||||||
|
|
||||||
#ifdef SIGSTKSZ
|
#ifdef MINSIGSTKSZ
|
||||||
#define ALT_STACK_SIZE (SIGSTKSZ*2)
|
#define ALT_STACK_SIZE (MINSIGSTKSZ*2)
|
||||||
#else
|
#else
|
||||||
#define ALT_STACK_SIZE (4*1024)
|
#define ALT_STACK_SIZE (4*1024)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user