summaryrefslogtreecommitdiff
path: root/qtcreator.pri
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-09-22 10:37:08 +0200
committerEike Ziller <eike.ziller@digia.com>2014-09-22 17:04:03 +0200
commit10cb7abe1762188c901685264b60515c3b15023b (patch)
treed3b268ed273a234e64e3bc724632a191b6e5c81a /qtcreator.pri
parenta6014c103905c236cb6a29bb027d731009111b86 (diff)
downloadqt-creator-10cb7abe1762188c901685264b60515c3b15023b.tar.gz
Locator: Fix the fix of the deadlock
The all/current project searches use metacalls on the UI thread to work around thread-unsafety of the Project::allFiles method, so we cannot jus t block the UI thread to wait for the old search to cancel. On the other hand, many of the ILocatorFilter::matchesFor implementation s do not work when they are run in multiple threads simultaneously (most implementations access unguarded member variables, help index filter tend s to crash), so we _do_ have to wait for the search to cancel before sta rting a new thread. Broke with 05c267673f43ecbb0ae4c44adc7d02a690435f8b and 6fc39f0c41c248be 00c5673ae80d03d115bf3739 Change-Id: I93c607c879e8ba6ef60f94719812edb3df43a154 Task-number: QTCREATORBUG-12875 Task-number: QTCREATORBUG-12592 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'qtcreator.pri')
0 files changed, 0 insertions, 0 deletions