From: SASADA Koichi Date: 2012-09-10T09:20:25+09:00 Subject: [ruby-dev:46127] Re: [ruby-changes:24883] kosaki:r36935 (trunk): * include/ruby/intern.h (rb_thread_blocking_region): Added こちら,どうせなら thread.h に移した方が良さそうです. (2012/09/09 20:32), kosaki wrote: > kosaki 2012-09-09 20:32:11 +0900 (Sun, 09 Sep 2012) > > New Revision: 36935 > > http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36935 > > Log: > * include/ruby/intern.h (rb_thread_blocking_region): Added > a comment of recommended alternative way. > > Modified files: > trunk/ChangeLog > trunk/include/ruby/intern.h > > Index: include/ruby/intern.h > =================================================================== > --- include/ruby/intern.h (revision 36934) > +++ include/ruby/intern.h (revision 36935) > @@ -818,6 +818,8 @@ > typedef VALUE rb_blocking_function_t(void *); > void rb_thread_check_ints(void); > int rb_thread_interrupted(VALUE thval); > + > +/* Use rb_thread_call_without_gvl family instead. */ > DEPRECATED(VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1, > rb_unblock_function_t *ubf, void *data2)); > #define RUBY_UBF_IO ((rb_unblock_function_t *)-1) > Index: ChangeLog > =================================================================== > --- ChangeLog (revision 36934) > +++ ChangeLog (revision 36935) > @@ -1,3 +1,8 @@ > +Sun Sep 9 18:39:46 2012 KOSAKI Motohiro > + > + * include/ruby/intern.h (rb_thread_blocking_region): Added > + a comment of recommended alternative way. > + > Sun Sep 9 18:37:05 2012 KOSAKI Motohiro > > * lib/sync.rb (Sync_m): Removed RCS_ID. > > -- > ML: ruby-changes@quickml.atdot.net > Info: http://www.atdot.net/~ko1/quickml/ > -- // SASADA Koichi at atdot dot net