Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method Filesystem.Monitor.basic()->update_monitor()


Method update_monitor

protected void update_monitor(Monitor m, Stdio.Stat st)

Description

Calculate a suitable time for the next poll of this monitor.

Parameter m

Monitor to update.

Parameter st

New stat for the monitor.

This function is called by check_monitor() to schedule the next check.