diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-14 02:59:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-14 02:59:19 +0000 |
commit | fc3c60f6081d85f6274986a7a08b59db1515fcb5 (patch) | |
tree | 5b7e96855783c55294b0a9824a598b9b269a991d /thread.c | |
parent | 436b02b3322d6809c2bf4cbadbe8b324a53e07e4 (diff) | |
download | ruby-fc3c60f6081d85f6274986a7a08b59db1515fcb5.tar.gz |
* gc.h (STACK_UPPER): moved from gc.c
* thread.c, thread_{pthread,win32}.c (ruby_init_stack,
ruby_thread_init_stack): moved stack initialization from gc.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -309,6 +309,12 @@ extern void ruby_error_print(void); static VALUE rb_thread_raise(int, VALUE *, rb_thread_t *); void rb_thread_recycle_stack_release(VALUE *); +void +ruby_thread_init_stack(rb_thread_t *th) +{ + native_thread_init_stack(th); +} + static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_start) { |