Use of watchdog
Posted: June 29th, 2012, 7:33 pm
Just thought watchdog may be of use, Its Cross platform using native API's for directory watching, It would remove the current "check every x seconds" for watched directories.
http://packages.python.org/watchdog/
http://pypi.python.org/pypi/watchdog/0.6.0
It uses the following
Linux 2.6 (inotify)
Mac OS X (FSEvents, kqueue)
FreeBSD/BSD (kqueue)
Windows (ReadDirectoryChangesW with I/O completion ports; ReadDirectoryChangesW worker threads)
and falls back to the OS independent poll filesystem every x seconds.
Not an urgent request, Just maybe an idea for future versions
http://packages.python.org/watchdog/
http://pypi.python.org/pypi/watchdog/0.6.0
It uses the following
Linux 2.6 (inotify)
Mac OS X (FSEvents, kqueue)
FreeBSD/BSD (kqueue)
Windows (ReadDirectoryChangesW with I/O completion ports; ReadDirectoryChangesW worker threads)
and falls back to the OS independent poll filesystem every x seconds.
Not an urgent request, Just maybe an idea for future versions