diff options
author | Koichi Sasada <[email protected]> | 2020-12-19 06:38:58 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-12-22 00:03:00 +0900 |
commit | a2950369bd8a5866092f6badf59b0811653a6092 (patch) | |
tree | b8933f0f3f87618c04290e420222daef3a63e68d /ractor_core.h | |
parent | c7a5cc2c3098ea74343a0dbab36b3a65bc7a4144 (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.h | 2 |
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; |