mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
26081169e0
commit
f4a2170ec2
1 changed files with 3 additions and 3 deletions
6
thread.c
6
thread.c
|
@ -667,7 +667,7 @@ thread_do_start(rb_thread_t *th)
|
|||
GetProcPtr(procval, proc);
|
||||
|
||||
th->ec->errinfo = Qnil;
|
||||
th->ec->root_lep = rb_vm_proc_local_ep(procval);
|
||||
th->ec->root_lep = rb_vm_proc_local_ep(procval);
|
||||
th->ec->root_svar = Qfalse;
|
||||
|
||||
EXEC_EVENT_HOOK(th->ec, RUBY_EVENT_THREAD_BEGIN, th->self, 0, 0, 0, Qundef);
|
||||
|
@ -689,7 +689,7 @@ thread_do_start(rb_thread_t *th)
|
|||
EXEC_EVENT_HOOK(th->ec, RUBY_EVENT_THREAD_END, th->self, 0, 0, 0, Qundef);
|
||||
}
|
||||
else {
|
||||
th->value = (*th->invoke_arg.func.func)(th->invoke_arg.func.arg);
|
||||
th->value = (*th->invoke_arg.func.func)(th->invoke_arg.func.arg);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -721,7 +721,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s
|
|||
|
||||
EC_PUSH_TAG(th->ec);
|
||||
if ((state = EC_EXEC_TAG()) == TAG_NONE) {
|
||||
SAVE_ROOT_JMPBUF(th, thread_do_start(th));
|
||||
SAVE_ROOT_JMPBUF(th, thread_do_start(th));
|
||||
}
|
||||
else {
|
||||
errinfo = th->ec->errinfo;
|
||||
|
|
Loading…
Reference in a new issue