aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/gem_helpers.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2022-07-11 12:40:34 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2022-07-12 16:07:41 -0700
commitde51bbcb544651fb499dd4cc757a2bf6f3b439cf (patch)
tree89d39a015ff0885895e82e859fec379c88455a0d /lib/bundler/gem_helpers.rb
parent59c6b7b7abefdf8bc93d7117a3893d581f3a6c90 (diff)
downloadruby-de51bbcb544651fb499dd4cc757a2bf6f3b439cf.tar.gz
Use VM Lock when mutating waiting threads list
`rb_thread_wait_for_single_fd` needs to mutate the `waiting_fds` list that is stored on the VM. We need to delete the FD from the list before returning, and deleting from the list requires a VM lock (because the list is a global). [Bug #18816] [ruby-core:108771] Co-Authored-By: Alan Wu <alanwu@ruby-lang.org>
Diffstat (limited to 'lib/bundler/gem_helpers.rb')
0 files changed, 0 insertions, 0 deletions