summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index ec0a03118b..897ae7e602 100644
--- a/eval.c
+++ b/eval.c
@@ -9902,6 +9902,7 @@ rb_thread_atfork()
if (rb_thread_alone()) return;
FOREACH_THREAD(th) {
if (th != curr_thread) {
+ rb_warn("fork terminates thread at %s:%s", th->node->nd_file, nd_line(th->node));
rb_thread_die(th);
}
}