* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9e66910b3b
commit
4bbbbb6a3f
4
thread.c
4
thread.c
@ -1436,7 +1436,7 @@ call_without_gvl(void *(*func)(void *), void *data1,
|
|||||||
data2 = th;
|
data2 = th;
|
||||||
}
|
}
|
||||||
else if (ubf && vm_living_thread_num(th->vm) == 1) {
|
else if (ubf && vm_living_thread_num(th->vm) == 1) {
|
||||||
ubf_th = rb_thread_start_unblock_thread();
|
ubf_th = rb_thread_start_unblock_thread();
|
||||||
}
|
}
|
||||||
|
|
||||||
BLOCKING_REGION(th, {
|
BLOCKING_REGION(th, {
|
||||||
@ -1449,7 +1449,7 @@ call_without_gvl(void *(*func)(void *), void *data1,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ubf_th != Qfalse) {
|
if (ubf_th != Qfalse) {
|
||||||
thread_value(rb_thread_kill(ubf_th));
|
thread_value(rb_thread_kill(ubf_th));
|
||||||
}
|
}
|
||||||
|
|
||||||
errno = saved_errno;
|
errno = saved_errno;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user