summaryrefslogtreecommitdiff
path: root/include/ruby/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/thread.h')
-rw-r--r--include/ruby/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ruby/thread.h b/include/ruby/thread.h
index d86a5d1e58..f3b1483a9c 100644
--- a/include/ruby/thread.h
+++ b/include/ruby/thread.h
@@ -28,9 +28,10 @@ extern "C" {
void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1,
rb_unblock_function_t *ubf, void *data2);
-void *rb_thread_call_without_gvl2(void *(*func)(void *, int *), void *data1,
+void *rb_thread_call_without_gvl2(void *(*func)(void *, VALUE *), void *data1,
rb_unblock_function_t *ubf, void *data2);
+#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS 0x01
#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility pop