summaryrefslogtreecommitdiff
path: root/spec/ruby/core/complex/integer_spec.rb
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-23 22:01:35 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-23 22:01:35 +0000
commitdab99d4e27a57a8757d86e7b98303c97a7493def (patch)
tree2857aa333f31d24ffb40bf625bf5718612c4c2d5 /spec/ruby/core/complex/integer_spec.rb
parenta6a7d988b4fe31a6f9a7662662ac8b501933446f (diff)
thread.c (rb_wait_for_single_fd): do not miss IO#close notifications
RUBY_VM_CHECK_INTS_BLOCKING may switch threads and cause `fd' to be closed. So we must ensure we register the waiting_fd before checking for interrupts. This only affects the ppoll/poll-using implementation of rb_wait_for_single_fd, as the select-based implementation already register waiting_fd before checking for interrupts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/complex/integer_spec.rb')
0 files changed, 0 insertions, 0 deletions