aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/thread_win32.c b/thread_win32.c
index c203b556a3..9f851867c8 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -748,6 +748,12 @@ native_reset_timer_thread(void)
}
}
+int
+ruby_stack_overflowed_p(const rb_thread_t *th, const void *addr)
+{
+ return rb_thread_raised_p(th, RAISED_STACKOVERFLOW);
+}
+
#ifdef RUBY_ALLOCA_CHKSTK
void
ruby_alloca_chkstk(size_t len, void *sp)