diff options
author | Koichi Sasada <[email protected]> | 2025-05-31 13:13:38 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2025-05-31 18:29:02 +0900 |
commit | 7b75b1f2da85b3862d4cebe176f41cf044ed6e7f (patch) | |
tree | 0cc08b98960b385e456b96821242f640e070dc62 /defs/id.def | |
parent | e8b31c273c205d6e5482c9cf1832fbe8fdc97f5b (diff) |
prepare IDs for `Ractor::monitor`
To prevent the following strange error, prepare IDs at first.
```
<internal:ractor>:596:in 'Ractor#monitor': symbol :exited is already registered with 98610c (fatal)
from <internal:ractor>:550:in 'Ractor#join'
from <internal:ractor>:574:in 'Ractor#value'
from bootstraptest.test_ractor.rb_2013_1309.rb:12:in '<main>'
```
BTW, the error should be fixed on ID management system.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13481
Diffstat (limited to 'defs/id.def')
-rw-r--r-- | defs/id.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/defs/id.def b/defs/id.def index 5e2da592ef..0c32b0d1d4 100644 --- a/defs/id.def +++ b/defs/id.def @@ -63,6 +63,8 @@ firstline, predefined = __LINE__+1, %[\ pack buffer include? + aborted + exited _ UScore |