ruby-changes:20703
From: kosaki <ko1@a...>
Date: Sat, 30 Jul 2011 11:23:04 +0900 (JST)
Subject: [ruby-changes:20703] kosaki:r32751 (trunk): * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
kosaki 2011-07-30 11:22:51 +0900 (Sat, 30 Jul 2011) New Revision: 32751 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32751 Log: * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2. Modified files: trunk/ChangeLog trunk/vm_core.h Index: ChangeLog =================================================================== --- ChangeLog (revision 32750) +++ ChangeLog (revision 32751) @@ -1,3 +1,7 @@ +Sat Jul 30 11:21:55 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2. + Sat Jul 30 10:39:14 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * vm.c (th_init): preallocate alternative stack. Index: vm_core.h =================================================================== --- vm_core.h (revision 32750) +++ vm_core.h (revision 32751) @@ -383,8 +383,8 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/