[gamin] python gamin hanging
- From: "Adam Olsen" <arolsen gmail com>
- To: gamin-list gnome org
- Subject: [gamin] python gamin hanging
- Date: Fri, 15 Sep 2006 10:23:53 -0600
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
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]