Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:6070:    int hrnow = gethrtime();    string thread_descr = "";    if (string th_name = Roxen.thread_name(thread, 1))    thread_descr += " - " + th_name;    if (int start_hrtime = thread_task_start_times[thread])    thread_descr += sprintf (" - busy for %.3fs",    (hrnow - start_hrtime) / 1e6);    report_debug(">> ### Thread 0x%x%s:\n",    thread->id_number(),    thread_descr); -  // Use master()->describe_backtrace to sidestep the background -  // failure wrapper that's active in RUN_SELF_TEST. -  string th_bt = master()->describe_backtrace (thread->backtrace()); +  // Use roxenloader's original reference to describe_backtrace to sidestep +  // the background failure wrapper that's active in RUN_SELF_TEST. +  string th_bt = roxenloader.orig_predef_describe_bt(thread->backtrace());       // Expand any occurrences of:    // Thread.Mutex(/*locked by 0x....*/)    // to:    // Thread.Mutex(/*locked by 0x.... - <thread name>*/)    string bt_separator = "Thread.Mutex(/*locked by ";    if (has_value(th_bt, bt_separator)) {    array(string) bt_segs = th_bt / bt_separator;    if (sizeof(bt_segs) > 1) {    foreach (bt_segs; int idx; string bt_seg) {