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

Aleix Pol aleixpol at kde.org
Wed Aug 22 09:17:03 UTC 2012


On Wed, Aug 22, 2012 at 8:21 AM, Ivan Shapovalov <intelfx100 at gmail.com> wrote:
> 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
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

Isn't it working for you?
It worked fine when I tried it here...

Aleix




More information about the KDevelop-devel mailing list