summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-09 11:32:11 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-09 11:32:11 +0000
commit5dbbee86b616424ee9800488a381b02f9e7c65b3 (patch)
treedcb707c1d25fc134ff75c1c411f4d57a648dd2e6 /include/ruby
parent149176225ac37574530f52e61e2f1dc1b8905e24 (diff)
* 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
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/intern.h2
1 files changed, 2 insertions, 0 deletions
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)