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

version» Context lines:

pike.git/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:866:   }      //! Release a single @[Monitor] from monitoring.   //!   //! @seealso   //! @[release()]   protected void release_monitor(Monitor m)   {    m->next_poll = -1000;    monitor_queue->adjust(m); -  while (monitor_queue->peek() < 0) { - #if __VERSION__ < 7.8 -  monitor_queue->top(); - #else +  while (monitor_queue->peek() < 0)    monitor_queue->pop(); - #endif +    } - } +       //! Create a new @[Monitor] for a @[path].   //!   //! This function is called by @[monitor()] to create a new @[Monitor]   //! object.   //!   //! The default implementation just calls @[Monitor()] with the same   //! arguments.   //!   //! @seealso