On commit ee2c645c "Make sure we don't create the file twice"

Ivan Shapovalov intelfx100 at gmail.com
Wed Aug 22 06:21:29 UTC 2012


Hi Aleix (and probably others),

I've changed my mind on whether we shall do the "create file, then scan for 
items": this is apparently a race between our thread and an inotify/whatever 
thread in QFileSystemWatcher backend.
So maybe we can just temporarily block watcher's signals before creating file 
and manually call dirtyFile() for the parent directory?

Cheers,
Ivan




More information about the KDevelop-devel mailing list