aboutsummaryrefslogtreecommitdiffstats
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, 3 insertions, 0 deletions
diff --git a/include/ruby/thread.h b/include/ruby/thread.h
index 9b9bcde866..d86a5d1e58 100644
--- a/include/ruby/thread.h
+++ b/include/ruby/thread.h
@@ -28,6 +28,9 @@ 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,
+ rb_unblock_function_t *ubf, void *data2);
+
#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility pop