From: Eric Wong Date: 2011-05-31T13:30:58+09:00 Subject: [ruby-core:36621] Re: [Ruby 1.9 - Bug #4683] [PATCH] io.c: copy_stream execute interrupts and retry Akira Tanaka wrote: > As far as I remember, io.c should not use vm_core.h and rb_thread_t. > ko1 dislikes it. I think we can work around it by making more API methods public. I have an old issue open to export rb_thread_call_with_gvl() for extensions: http://redmine.ruby-lang.org/issues/4328 Perhaps exec_interrupts() can be made into a public API method: rb_thread_exec_interrupts_with_gvl() -- Eric Wong