Akira Tanaka <akr / fsij.org> 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