mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* vm.c (th_init): preallocate alternative stack.
|
||||
|
|
|
@ -383,8 +383,8 @@ struct rb_unblock_callback {
|
|||
|
||||
struct rb_mutex_struct;
|
||||
|
||||
#ifdef SIGSTKSZ
|
||||
#define ALT_STACK_SIZE (SIGSTKSZ*2)
|
||||
#ifdef MINSIGSTKSZ
|
||||
#define ALT_STACK_SIZE (MINSIGSTKSZ*2)
|
||||
#else
|
||||
#define ALT_STACK_SIZE (4*1024)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue