monitoring the filesystem for changes

Tim Golden mail at timgolden.me.uk
Sun Jun 3 15:29:50 EDT 2007


rohit wrote:
> hello
> well in my implementation of readdirectorychangesw i am using
> threading that is multiple programs run simultaneously each program
> monitoring one drive for changes.
> is their a way around this...one program for all drives?
> thanks

You could use the ReadDirectoryChangesW in overlapped
mode. I've never tried it, so I don't know how
robust it would be. Why is it a problem to have
"multiple programs" running? And is that simply
multiple threads, or multiple processes?

TJG



More information about the Python-list mailing list