From: SASADA Koichi Date: 2012-11-16T19:35:48+09:00 Subject: [ruby-core:49414] Re: Fwd: [ruby-cvs:43609] ko1:r36433 (trunk): * thread.c (rb_thread_call_without_gvl2): added. > May there be other flags that we may need here in the future? > Perhaps the second argument can be a bitmask to give us more options > in the future: > > read_func(void *data, int *flags) { > read(buffer); > if (read was completed) { > *flags |= RB_NOGVL_SKIP_CHECK; > } > } > Sorry for late response. I agree with that. I commit your suggestion at r37681. -- // SASADA Koichi at atdot dot net