Branch: Tag:

2014-01-14

2014-01-14 14:33:42 by 0

Show thread name in slow thread dump header.

790: Inside #if undefined(NO_SLOW_REQ_BT)
   }       else { -  report_debug ("###### %s 0x%x has been busy for more than %g seconds.\n", +  string th_name = +  ((thread != backend_thread) && thread_name(thread, 1)) || ""; +  if (sizeof(th_name)) +  th_name = " - " + th_name + " -"; +  report_debug ("###### %s 0x%x%s has been busy for more than %g seconds.\n",    thread == backend_thread ? "Backend thread" : "Thread", -  thread->id_number(), timeout); +  thread->id_number(), th_name, timeout);    describe_all_threads (0, threads_disabled);    }