Use of watchdog

Want something added? Ask for it here.
Post Reply
exussum
Jr. Member
Jr. Member
Posts: 79
Joined: November 18th, 2010, 2:51 am

Use of watchdog

Post by exussum »

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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Help With Categories

Post by shypike »

Thanks for the tip.
Post Reply