Revision 40a6b60...

Go back to digest for 23rd March 2014

Bug Fixes in KDE-PIM

Dan Vratil committed changes in [akonadi/1.12] server/src/search/searchmanager.cpp:

Fix deadlock in SearchManager search update

Scheduling a task into QEventLoop and then blocking the thread by QWaitCondition::wait()
which is awaken by the task won't work. The task will never get dispatched by the event
loop.

But it's OK to use updateSearchAsync() in searchUpdateTimeout(), the tasks will get
queued in QEventLoop and dispatched one by one, so now problem.

File Changes

Modified 1 files
  • server/src/search/searchmanager.cpp
1 files changed in total