diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-30 01:57:06 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-30 01:57:06 +0000 |
commit | 18bc6c31a1a0831ae6dda645a13b2df13d761fe8 (patch) | |
tree | a0849e5d3ad49cf0d5759c42e0f152d543a4ef43 /bignum.c | |
parent | 1054b79609f3f468470ae022cea5445e58ed831b (diff) | |
download | ruby-18bc6c31a1a0831ae6dda645a13b2df13d761fe8.tar.gz |
* vm.c (th_init): preallocate alternative stack.
NoMemoryError is better than rb_bug, of course.
Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
* signal.c (rb_register_sigaltstack): ditto.
* vm_core.h: moved ALT_STACK_SIZE definition from signal.c.
* vm.c (thread_free): use xfree() instead of free().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
0 files changed, 0 insertions, 0 deletions