summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-10 12:52:03 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-10 12:52:03 +0000
commitce698d4c0d4eb9c48650466b7f1566c869eb2e01 (patch)
tree1e4fedec7069e45eb5d7b3be3420fb0bf71557f0 /internal.h
parent7506a580fefcf89365d0480abfe47c6894117c0c (diff)
* internal.h: add comments (cautions).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h7
1 files changed, 6 insertions, 1 deletions
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,