diff options
author | Luke Gruber <[email protected]> | 2025-06-12 11:10:29 -0400 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2025-06-12 13:13:18 -0700 |
commit | 97994c77fb5b82ca959e1188ecaee7d633d60a8e (patch) | |
tree | c65989346e50cdfbc06c9b24b3a1c11d75dc2e31 /internal/thread.h | |
parent | 6e36841dbd5f52b572b690b8a4c3c534fec43ba8 (diff) |
Only use regex internal reg_cache when in main ractor
Using this `reg_cache` is racy across ractors, so don't use it when in a
ractor. Also, its use across ractors can cause a regular expression created
in 1 ractor to be used in another ractor (an isolation bug).
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13598
Diffstat (limited to 'internal/thread.h')
0 files changed, 0 insertions, 0 deletions