pike.git / lib / modules / Search.pmod / Utils.pmod

version» Context lines:

pike.git/lib/modules/Search.pmod/Utils.pmod:441:      //! Returns a scheduler for the given profile database.   Scheduler get_scheduler(string db_name) {    mapping dbp = get_profile_storage(db_name);    if(scheduler_storage[db_name])    return scheduler_storage[db_name];    scheduler_storage[db_name] = Scheduler(dbp);    return scheduler_storage[db_name] = Scheduler(dbp);   }    + //!   class Scheduler {       private int next_run;    private mapping(int:int) entry_queue = ([]);    private mapping(int:int) crawl_queue = ([]);    private mapping(int:int) compact_queue = ([]);    private array(int) priority_queue = ({});    private mapping db_profiles;   #if constant(roxen)    private mixed schedule_run;