summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2022-09-17 14:05:23 +0900
committernagachika <nagachika@ruby-lang.org>2022-09-17 14:05:23 +0900
commit99d254d8b025fd952375ed15c345ecc1b806652a (patch)
tree1ca923bc601624c80f1a5721cc1079c670d3b82a /spec/ruby/core/kernel
parent87463832195eac16e9248e2a4a048c07f09582df (diff)
merge revision(s) de51bbcb544651fb499dd4cc757a2bf6f3b439cf: [Backport #18816]
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> --- thread.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Diffstat (limited to 'spec/ruby/core/kernel')
0 files changed, 0 insertions, 0 deletions