summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index d206e58afc..e2e5cef48a 100644
--- a/thread.c
+++ b/thread.c
@@ -546,6 +546,7 @@ rb_thread_wait_for(struct timeval time)
void
rb_thread_polling(void)
{
+ RUBY_VM_CHECK_INTS();
if (!rb_thread_alone()) {
rb_thread_t *th = GET_THREAD();
sleep_for_polling(th);