summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index fffaa5e986..333e845607 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -584,6 +584,9 @@ typedef struct rb_thread_struct {
void *altstack;
#endif
unsigned long running_time_us;
+
+ /* 1 if running trap handler */
+ int in_trap;
} rb_thread_t;
/* iseq.c */