summaryrefslogtreecommitdiff
path: root/regparse.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-04 07:17:03 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-04 07:17:03 +0000
commitb323b86b6b3a7283617b72b45521c554dba930c9 (patch)
tree8a245b8c30c894a66cb5ef29fb2237a93aa15c0c /regparse.h
parent669862a416ce92dfee6b677e35144e7b8db1cb19 (diff)
downloadruby-b323b86b6b3a7283617b72b45521c554dba930c9.tar.gz
* thread_pthread.c (native_thread_init_stack): use get_stack.
patched by KOSAKI Motohiro [ruby-dev:40309] * thread_pthread.c (ruby_init_stack): use get_stack on platforms which have pthread_attr_get_np. (FreeBSD, DragonFlyBSD and NetBSD) This is because FreeBSD and DragonFly BSD must use pthread_attr_get_np to get stack size of main thread, but Mac OS X and Linux with LinuxThreads must use getrlimit. <http://www.nminoru.jp/~nminoru/programming/stackoverflow_handling.html> <http://d.hatena.ne.jp/nurse/20100204> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.h')
0 files changed, 0 insertions, 0 deletions