From ce698d4c0d4eb9c48650466b7f1566c869eb2e01 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 10 Jul 2011 12:52:03 +0000 Subject: * internal.h: add comments (cautions). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index a6c633ba3f..172e7f45ad 100644 --- a/internal.h +++ b/internal.h @@ -200,9 +200,14 @@ void Init_prelude(void); #endif const char *rb_objspace_data_type_name(VALUE obj); -/* experimental. these APIs can be changed. */ +/* Temporary. This API will be removed (renamed). */ VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd); +/* experimental. + * These APIs can be changed on Ruby 1.9.4 or later. + * We will change these APIs (spac, name and so on) if there are something wrong. + * If you use these APIs, catch up future changes. + */ void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1); VALUE rb_thread_call_without_gvl( rb_blocking_function_t *func, void *data1, -- cgit v1.2.3