ruby-changes:24883
From: kosaki <ko1@a...>
Date: Sun, 9 Sep 2012 20:32:22 +0900 (JST)
Subject: [ruby-changes:24883] kosaki:r36935 (trunk): * include/ruby/intern.h (rb_thread_blocking_region): Added
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 <kosaki.motohiro@g...> + + * include/ruby/intern.h (rb_thread_blocking_region): Added + a comment of recommended alternative way. + Sun Sep 9 18:37:05 2012 KOSAKI Motohiro <kosaki.motohiro@g...> * lib/sync.rb (Sync_m): Removed RCS_ID. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/