mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
Adjusted styles
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d8442c4306
commit
b9e52ef8b6
5 changed files with 7 additions and 5 deletions
3
io.c
3
io.c
|
@ -10996,7 +10996,8 @@ nogvl_fcopyfile(struct copy_stream_struct *stp)
|
|||
return 1;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
switch (errno) {
|
||||
case ENOTSUP:
|
||||
case EPERM:
|
||||
|
|
|
@ -1180,7 +1180,8 @@ mjit_copy_cache_from_main_thread(const rb_iseq_t *iseq, struct rb_call_cache *cc
|
|||
|
||||
if (UNLIKELY(mjit_opts.wait)) {
|
||||
mjit_copy_job_handler((void *)job);
|
||||
} else if (rb_workqueue_register(0, mjit_copy_job_handler, (void *)job)) {
|
||||
}
|
||||
else if (rb_workqueue_register(0, mjit_copy_job_handler, (void *)job)) {
|
||||
CRITICAL_SECTION_START(3, "in MJIT copy job wait");
|
||||
// checking `stop_worker_p` too because `RUBY_VM_CHECK_INTS(ec)` may not
|
||||
// lush mjit_copy_job_handler when EC_EXEC_TAG() is not TAG_NONE, and then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue