pike.git / lib / modules / Filesystem.pmod / Monitor.pmod / basic.pike

version» Context lines:

pike.git/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:307:    {    if (dying == 1) {    // We are going away permanently due to explicit destruct(),    // so remove ourselves from from the monitor_queue.    mixed key = monitor_mutex->lock();    MON_WERR("Unregistering %O from polling.\n", path);    monitor_queue->remove(this);    }    }    -  int `<(mixed m) { return next_poll < m; } -  int `>(mixed m) { return next_poll > m; } +  protected int `<(mixed m) { return next_poll < m; } +  protected int `>(mixed m) { return next_poll > m; }    -  void create() +  protected void create()    {    MON_WERR("Creating monitor for %O.\n", path);    Element::create(this);    register_path(1);    }       //! Returns the parent monitor, or UNDEFINED if no such monitor exists.    this_program parent()    {    string parent_path = canonic_path (dirname (path));