davidedmundson added a comment.
I assume it was done like this, because after you've done prepareForMatchSession on every runner we can start all the threads and run match. If we block the main thread now, it doesn't matter as at least every runner is busy doing something and the main thread would just be idling about waiting anyway. After this patch we'll block every runner from starting whilst we do this. It sounds like we just want to just block in match till we're loaded. Something with QWaitCondition for m_ready would be an option. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D26494 To: meven, #plasma, ngraham, mart, davidedmundson Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart