diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | thread.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Apr 24 00:25:39 2012 Yusuke Endoh <[email protected]> + + * thread.c (rb_check_deadlock): refine an error message of deadlock + detection. [ruby-core:44336] [Bug #6288] + Tue Apr 24 00:14:42 2012 Yusuke Endoh <[email protected]> * parse.y (primary): remove wrong "fixpos" that caused incorrect @@ -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); |