summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 34f3ad8629..433e7be4fb 100644
--- a/thread.c
+++ b/thread.c
@@ -46,6 +46,7 @@
#include "eval_intern.h"
#include "gc.h"
+#include "internal.h"
#include "ruby/io.h"
#ifndef USE_NATIVE_THREAD_PRIORITY
@@ -1359,6 +1360,12 @@ rb_threadptr_execute_interrupts(rb_thread_t *th)
}
void
+rb_thread_execute_interrupts(VALUE th)
+{
+ rb_threadptr_execute_interrupts_rec((rb_thread_t *)th, 0);
+}
+
+void
rb_gc_mark_threads(void)
{
rb_bug("deprecated function rb_gc_mark_threads is called");