aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 1fcdf824f9..7383a886f6 100644
--- a/thread.c
+++ b/thread.c
@@ -4731,7 +4731,7 @@ rb_check_deadlock(rb_vm_t *vm)
if (!found) {
VALUE argv[2];
argv[0] = rb_eFatal;
- argv[1] = rb_str_new2("deadlock detected");
+ argv[1] = rb_str_new2("No live threads left. Deadlock?");
#ifdef DEBUG_DEADLOCK_CHECK
printf("%d %d %p %p\n", vm->living_threads->num_entries, vm->sleeper, GET_THREAD(), vm->main_thread);
st_foreach(vm->living_threads, debug_i, (st_data_t)0);