[前][次][番号順一覧][スレッド一覧]

ruby-changes:63308

From: Koichi <ko1@a...>
Date: Sat, 10 Oct 2020 05:27:27 +0900 (JST)
Subject: [ruby-changes:63308] a770b9c87e (master): remove debug code

https://git.ruby-lang.org/ruby.git/commit/?id=a770b9c87e

From a770b9c87e5f0c5bdffaad09bf73fb45760896e8 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Sat, 10 Oct 2020 04:46:09 +0900
Subject: remove debug code


diff --git a/ractor.c b/ractor.c
index 6ef294d..1ab4f37 100644
--- a/ractor.c
+++ b/ractor.c
@@ -1175,9 +1175,7 @@ ractor_close_outgoing(rb_execution_context_t *ec, rb_ractor_t *r) https://github.com/ruby/ruby/blob/trunk/ractor.c#L1175
 
         // wakeup all taking ractors
         rb_ractor_t *taking_ractor;
-        bp();
         while ((taking_ractor = ractor_waiting_list_shift(r, &r->taking_ractors)) != NULL) {
-            rp(taking_ractor->self);
             RACTOR_LOCK(taking_ractor);
             ractor_wakeup(taking_ractor, wait_taking, wakeup_by_close);
             RACTOR_UNLOCK(taking_ractor);
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]