ruby-changes:64255
From: Koichi <ko1@a...>
Date: Fri, 18 Dec 2020 11:23:55 +0900 (JST)
Subject: [ruby-changes:64255] a07f249803 (master): socket is ractor-safe.
https://git.ruby-lang.org/ruby.git/commit/?id=a07f249803 From a07f2498031d5f4c53ddc03d61a8a41a6b77baca Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Fri, 18 Dec 2020 11:23:16 +0900 Subject: socket is ractor-safe. diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 189e5c2..3d8c650 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -1894,6 +1894,8 @@ socket_s_ip_address_list(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/socket/socket.c#L1894 void Init_socket(void) { + rb_ext_ractor_safe(true); + rsock_init_basicsocket(); /* -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/