Method Filesystem.Monitor.basic()->check_monitor()
- Method
check_monitor
protectedboolcheck_monitor(Monitorm,MonitorFlags|voidflags)- Description
Check a single Monitor for changes.
- Parameter
m Monitor to check.
- Parameter
flags 0Don't recurse.
1Check all monitors for the entire subtree rooted in
m.This function is called by check() for the Monitors it considers need checking. If it detects any changes an appropriate callback will be called.
- Returns
Returns
1if a change was detected and0(zero) otherwise.- Note
Any callbacks will be called from the same thread as the one calling check_monitor().
- Note
The return value can not be trusted to return
1for all detected changes in recursive mode.- See also
check(), data_changed(), attr_changed(), file_created(), file_deleted(), stable_data_change()