summaryrefslogtreecommitdiff
path: root/ractor_core.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-19 06:38:58 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-22 00:03:00 +0900
commita2950369bd8a5866092f6badf59b0811653a6092 (patch)
treeb8933f0f3f87618c04290e420222daef3a63e68d /ractor_core.h
parentc7a5cc2c3098ea74343a0dbab36b3a65bc7a4144 (diff)
TracePoint.new(&block) should be ractor-local
TracePoint should be ractor-local because the Proc can violate the Ractor-safe.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3943
Diffstat (limited to 'ractor_core.h')
-rw-r--r--ractor_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ractor_core.h b/ractor_core.h
index daa652ebff..88b1126546 100644
--- a/ractor_core.h
+++ b/ractor_core.h
@@ -138,6 +138,8 @@ struct rb_ractor_struct {
VALUE verbose;
VALUE debug;
+ rb_hook_list_t event_hooks;
+
struct {
struct RVALUE *freelist;
struct heap_page *using_page;