aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-16 16:02:35 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-31 06:44:09 +0000
commit4d07a6254cac5742ffc23377b97c6eaf04aa4c49 (patch)
tree1fcf6decc78b0eef903093e3c7cf2f5287665a07 /tests
parent99141dd5fc4847d7cf38847065c617361329a3d2 (diff)
Simplify thread synchronization in QQmlDebugServer
m_clientPlugins will only be accessed from the server thread, so it doesn't need to be protected by a mutex. m_plugins will only be modified before the server thread starts and after it ends. During the runtime of the thread it is constant and thus doesn't need to be protected, either. Engines are supposed to be added and removed after any waiting for connections and hello messages is done, so we can reuse the hello mutex for synchronization there. Change-Id: I09037430804c264a5f784c4b5a85668d87851b12 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions