Project

General

Profile

« Previous | Next » 

Revision 54c17dc8

Added by nobu (Nobuyoshi Nakada) over 11 years ago

thread_pthread.c: init stack with ulimit

  • thread_pthread.c (ruby_init_stack): use getrlimit() for the main
    thread on Mac OS X, since pthread_get_stack{addr,size}_np() and
    return the default value always, but not the ulimit value.
    [ruby-dev:46174] [Bug #7084]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e