|author||Robin Burchell <email@example.com>||2011-12-29 23:56:27 +0100|
|committer||Qt by Nokia <firstname.lastname@example.org>||2012-01-10 16:19:32 +0100|
Remove thread from QFileSystemWatcherEngine implementations.
These threads are actually counterproductive, as generally speaking, processing watches is not that expensive an operation, so instead, they process at full speed and can (in the case of slow processing in the thread processing the events) stack up and consume resources for no good reason. Threads also have an additional resource consumption per engine (some ~8mb of thread stack on Linux), so doing away with them is nice. A side effect of this change is that events are now effectively rate-limited by the eventloop speed of the thread they run in, so if your thread runs too slow, and you recieve a lot of events, on some platforms, events may be dropped now where in the past, they would be read by the monitor thread and turned into Qt signals (thus not visibly showing as a problem, apart from invisibly bloating memory usage). Task-number: QTBUG-20028 Change-Id: I345a56a8c709f6f778ca9a0b55b57c05229ba477 Reviewed-by: João Abecasis <email@example.com> Reviewed-by: Bradley T. Hughes <firstname.lastname@example.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions