I'm recursively watching a bunch of directories for changes using something like this:

gam = gamin.WatchMonitor()

for root, dirs, files in os.walk("/somedir"):
    for dir in dirs:
        mon.watch_directory (dir, some_callback)

It works most of the time, but occassionally (usually when a lot of directories are being watched), mon.watch_directory hangs completely.  The directory it hangs on seems to be arbitrary. 

What am I doing wrong?

Adam
_______________________________________________
Gamin-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gamin-list

Reply via email to