Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1538:    function func;    array args;    int stopping = 0;       protected void repeat (function func, array args)    {    // Got a minimum of four refs to this:    // o One in the task array in bg_process_queue.    // o One on the stack in the call in bg_process_queue.    // o One as current_object in the stack frame. -  // o One on the stack as argument to _refs. -  int self_refs = _refs (this); +  // o One on the stack as argument to Debug.refs. +  int self_refs = Debug.refs (this);   #ifdef DEBUG    if (self_refs < 4)    error ("Minimum ref calculation wrong - have only %d refs.\n", self_refs);   #endif    if (stopping || (self_refs <= 4) || !func) {    stopping = 2; // Stopped.    return;    }    mixed err = catch {    func (@args);