From 5dbbee86b616424ee9800488a381b02f9e7c65b3 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sun, 9 Sep 2012 11:32:11 +0000 Subject: * include/ruby/intern.h (rb_thread_blocking_region): Added a comment of recommended alternative way. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ruby') diff --git a/include/ruby/intern.h b/include/ruby/intern.h index e4b568d32e..eebb24ce0a 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -818,6 +818,8 @@ typedef void rb_unblock_function_t(void *); 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) -- cgit v1.2.3