From 35471a948739ca13b85fe900871e081d553f68e6 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Tue, 22 Dec 2020 01:55:15 +0900 Subject: add Ractor#[]/#[]= for ractor local storage This API is similar to plain old Thread#[]/Fiber#[] interface with symbol key. --- ractor_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ractor_core.h') diff --git a/ractor_core.h b/ractor_core.h index 1f1e7aacf0..4451e06be1 100644 --- a/ractor_core.h +++ b/ractor_core.h @@ -130,6 +130,7 @@ struct rb_ractor_struct { // ractor local data st_table *local_storage; + struct rb_id_table *idkey_local_storage; VALUE r_stdin; VALUE r_stdout; -- cgit v1.2.3