ruby-changes:62840
From: Kazuhiro <ko1@a...>
Date: Sun, 6 Sep 2020 01:59:20 +0900 (JST)
Subject: [ruby-changes:62840] 776b3df490 (master): Fix typos [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=776b3df490 From 776b3df490a843a02d7b91868914b3a23ea21854 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Sun, 6 Sep 2020 01:58:44 +0900 Subject: Fix typos [ci skip] diff --git a/ractor.c b/ractor.c index 5ea0257..18263d2 100644 --- a/ractor.c +++ b/ractor.c @@ -363,7 +363,7 @@ ractor_moving_new(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ractor.c#L363 rv->v3 = 0; // TODO: record moved location - // TOOD: check flags for each data types + // TODO: check flags for each data types return v; } @@ -1527,7 +1527,7 @@ rb_vm_ractor_blocking_cnt_dec(rb_vm_t *vm, rb_ractor_t *cr, const char *file, in https://github.com/ruby/ruby/blob/trunk/ractor.c#L1527 } static void -ractor_check_blocking(rb_ractor_t *cr, unsigned int remaind_thread_cnt, const char *file, int line) +ractor_check_blocking(rb_ractor_t *cr, unsigned int remained_thread_cnt, const char *file, int line) { VM_ASSERT(cr == GET_RACTOR()); @@ -1538,7 +1538,7 @@ ractor_check_blocking(rb_ractor_t *cr, unsigned int remaind_thread_cnt, const ch https://github.com/ruby/ruby/blob/trunk/ractor.c#L1538 VM_ASSERT(cr->threads.cnt >= cr->threads.blocking_cnt + 1); - if (remaind_thread_cnt > 0 && + if (remained_thread_cnt > 0 && // will be block cr->threads.cnt == cr->threads.blocking_cnt + 1) { // change ractor status: running -> blocking -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/