Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1112 2012/02/18 01:14:34 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1113 2012/02/27 23:32:11 mast Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:5657:    foreach (threads, Thread.Thread thread) {    string thread_descr = "";    if (string th_name = 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.    report_debug(">> " + -  replace (describe_backtrace (thread->backtrace()), +  replace (master()->describe_backtrace (thread->backtrace()),    "\n", "\n>> ") +    "\n");    }       array(array) queue = handle_queue->peek_array();       // Ignore the handle thread shutdown marker, if any.    queue -= ({0});       if (!sizeof (queue))