diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-09-06 01:58:44 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-09-06 01:58:44 +0900 |
commit | 776b3df490a843a02d7b91868914b3a23ea21854 (patch) | |
tree | 8d7b38f8f89dfcf54466b4532122980c45b811cb /ractor.c | |
parent | 170c7528e6569d51be661efe556d3b5e68b19bb5 (diff) |
Fix typos [ci skip]
Diffstat (limited to 'ractor.c')
-rw-r--r-- | ractor.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -363,7 +363,7 @@ ractor_moving_new(VALUE obj) 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 } 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 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 |