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

ruby-changes:64391

From: Koichi <ko1@a...>
Date: Mon, 21 Dec 2020 02:21:58 +0900 (JST)
Subject: [ruby-changes:64391] 7600f69a8e (master): rename to rb_ractor_make_shareable_copy()

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

From 7600f69a8e7955fc2ba3ef83d0c9fa019114216e Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Mon, 21 Dec 2020 02:20:57 +0900
Subject: rename to rb_ractor_make_shareable_copy()

from rb_ractor_make_copy_shareable().

diff --git a/ractor.c b/ractor.c
index d2d4ee2..be067d6 100644
--- a/ractor.c
+++ b/ractor.c
@@ -2440,7 +2440,7 @@ rb_ractor_make_shareable(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ractor.c#L2440
 }
 
 VALUE
-rb_ractor_make_copy_shareable(VALUE obj)
+rb_ractor_make_shareable_copy(VALUE obj)
 {
     VALUE copy = ractor_copy(obj);
     rb_obj_traverse(copy,
diff --git a/ractor.rb b/ractor.rb
index 3622c66..12643e6 100644
--- a/ractor.rb
+++ b/ractor.rb
@@ -748,7 +748,7 @@ class Ractor https://github.com/ruby/ruby/blob/trunk/ractor.rb#L748
   def self.make_shareable obj, copy: false
     if copy
       __builtin_cexpr! %q{
-        rb_ractor_make_copy_shareable(obj);
+        rb_ractor_make_shareable_copy(obj);
       }
     else
       __builtin_cexpr! %q{
-- 
cgit v0.10.2


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

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