0001-thread_pthread.c-lower-RUBY_STACK_MIN_LIMIT-to-64K.patch

Eric Wong, 04/26/2011 08:56 AM

Download (1.34 KB)

View differences:

thread_pthread.c
630 630
}
631 631

  
632 632
enum {
633
#ifdef __SYMBIAN32__
634
    RUBY_STACK_MIN_LIMIT = 64 * 1024,  /* 64KB: Let's be slightly more frugal on mobile platform */
635
#else
636
    RUBY_STACK_MIN_LIMIT = 512 * 1024, /* 512KB */
637
#endif
633
    RUBY_STACK_MIN_LIMIT = 64 * 1024, /* 64KB, 48K+ seems safe, though */
638 634
    RUBY_STACK_SPACE_LIMIT = 1024 * 1024
639 635
};
640 636