rename to rb_ractor_make_shareable_copy()
from rb_ractor_make_copy_shareable().
This commit is contained in:
parent
9c73c75624
commit
7600f69a8e
2
ractor.c
2
ractor.c
@ -2440,7 +2440,7 @@ rb_ractor_make_shareable(VALUE obj)
|
|||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
rb_ractor_make_copy_shareable(VALUE obj)
|
rb_ractor_make_shareable_copy(VALUE obj)
|
||||||
{
|
{
|
||||||
VALUE copy = ractor_copy(obj);
|
VALUE copy = ractor_copy(obj);
|
||||||
rb_obj_traverse(copy,
|
rb_obj_traverse(copy,
|
||||||
|
@ -748,7 +748,7 @@ class Ractor
|
|||||||
def self.make_shareable obj, copy: false
|
def self.make_shareable obj, copy: false
|
||||||
if copy
|
if copy
|
||||||
__builtin_cexpr! %q{
|
__builtin_cexpr! %q{
|
||||||
rb_ractor_make_copy_shareable(obj);
|
rb_ractor_make_shareable_copy(obj);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
__builtin_cexpr! %q{
|
__builtin_cexpr! %q{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user