diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-04-19 22:02:10 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-04-19 22:02:10 +0900 |
commit | c218862d3c664b4afff5acce55d7a6eb13779809 () | |
tree | c5dde0ff7443236a9846f95ffffcbb36547e0411 /thread.c | |
parent | d6d4e6877c9670b871ba44b9ca8bece033d17f22 (diff) |
Fix style [ci skip]
-rw-r--r-- | thread.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -693,7 +693,8 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start) if (state == TAG_NONE) { // This must be set AFTER doing all user-level code. At this point, the thread is effectively finished and calls to `Thread#join` will succeed. th->value = result; - } else { errinfo = th->ec->errinfo; VALUE exc = rb_vm_make_jump_tag_but_local_jump(state, Qundef); @@ -1726,7 +1727,8 @@ thread_io_wake_pending_closer(struct waiting_fd *wfd) rb_thread_t *th = rb_thread_ptr(wfd->busy->closing_thread); if (th->scheduler != Qnil) { rb_fiber_scheduler_unblock(th->scheduler, wfd->busy->closing_thread, wfd->busy->closing_fiber); - } else { rb_thread_wakeup(wfd->busy->closing_thread); } rb_mutex_unlock(wfd->busy->wakeup_mutex); |