Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:3425: Inside #if undefined(__NT__)
   // Catch for paranoia reasons.    describe_all_threads();    })    master()->handle_error (err);   #ifdef THREADS    report_debug("\nHandler queue:\n");    if (mixed err = catch {    t = alarm(20); // Restart the timeout timer.    array(mixed) queue = handle_queue->buffer[handle_queue->r_ptr..];    foreach(queue, mixed v) { -  if (!v) continue; +  if (!v) { +  // Either an entry past the write pointer, or an entry that +  // has been zapped by a handler thread during our processing. +  continue; +  }    if (!arrayp(v)) {    report_debug(" *** Strange entry: %O ***\n", v);    } else {    report_debug(" %{%O, %}\n", v/({}));    }    }    })    master()->handle_error (err);   #endif    report_debug("\nPending call_outs:\n");    if (mixed err = catch {    t = alarm(20); // Restart the timeout timer.    foreach(call_out_info(), array info) {    report_debug(" %4d seconds: %O(%{%O, %})\n", -  info[0], info[2], info[3]); +  info[0], info[2], info[3..]);    }    })    master()->handle_error(err);    low_engage_abs();   }      void restart_if_stuck (int force)   //! @note   //! Must be called from the backend thread due to Linux peculiarities.   {