Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

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.