Thanks for the info

-----Original Message-----
From: interest-bounces+graham.labdon=avalonsciences....@qt-project.org 
[mailto:interest-bounces+graham.labdon=avalonsciences....@qt-project.org] On 
Behalf Of Koehne Kai
Sent: 01 April 2014 11:24
To: Koehne Kai; sarah jones; interest@qt-project.org
Subject: Re: [Interest] QFileSystemWatcher

(bringing this back to interest@ ...)

> -----Original Message-----
> From: sarah jones [mailto:qtsa...@outlook.com]
> Sent: Tuesday, April 01, 2014 12:13 PM
> To: Koehne Kai
> Subject: RE: [Interest] QFileSystemWatcher
> 
> Hi
> I am using Qt5.2.1 on Windows 7
> I think that the problem may lie in how I am testing this.
> I have a separate program that copies files from one folder to another 
> (executed in a thread) If I replace this program with a simple batch 
> file things seem to be improved.
> But i don't know how or why - is there some kind of interaction 
> between the test program and the FileSystemWatcher Confused

One theory: Your application gets so many QFileSystemWatcher events that the 
event loop saturates. 

Robin Burchell blogged about QFileSystemWatcher changes in Qt 5, and mentions 
(one variant of) this problem as solved, but later on mentions on Windows it 
still uses threads:

http://blog.rburchell.com/2012/01/qfilesystemwatcher-internals-in-qt-5.html

Regards

Kai

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to