thread.c (rb_uninterruptible): helper function for providing temporary async_interrupt_timing(Object => :defer)
io.c (rb_f_p): use rb_uninterruptible.
io.c (rb_f_p_internal): helper function for rb_f_p().
io.c (struct rb_f_p_arg): new struct for rb_f_p_internal.
test/ruby/test_thread.rb (test_async_interrupt_and_p): test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
thread.c (rb_uninterruptible): helper function for providing
temporary async_interrupt_timing(Object => :defer)
io.c (rb_f_p): use rb_uninterruptible.
io.c (rb_f_p_internal): helper function for rb_f_p().
io.c (struct rb_f_p_arg): new struct for rb_f_p_internal.
test/ruby/test_thread.rb (test_async_interrupt_and_p): test for
the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e