diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-24 16:52:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-24 16:52:38 +0000 |
commit | 011fc2649d99a87b06e2e31e13a74e450470d643 (patch) | |
tree | abb34ddee4f802dc2ca30b18dc857829a798040f /thread.c | |
parent | 823cfeed8911eed4491a632335e313deebd849e8 (diff) |
* thread.c (thread_start_func_2): sets native thread key.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -362,6 +362,8 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s rb_thread_t *main_th; VALUE errinfo = Qnil; + ruby_thread_set_native(th); + th->machine_stack_start = stack_start; #ifdef __ia64 th->machine_register_stack_start = register_stack_start; |