CoreCon Server: guard with a QMutex
authorAndrew Knight <andrew.knight@digia.com>
Mon, 17 Feb 2014 08:10:24 +0000 (10:10 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 17 Feb 2014 13:27:53 +0000 (14:27 +0100)
commit524375bcdf8cf0caf3c6403e66d0e0af4b362c33
tree5f4d822869c223d6bdf6280b82d2b9db9d3f3608
parent6cf54b0f21cdc8a37efea80d104233cf6b0af7a6
CoreCon Server: guard with a QMutex

The server may be used from several threads at once during startup, so
use a mutex to protect initialization and enumeration of devices.

Change-Id: I6a6605ac80af3da7f330474146e2256418892e50
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/shared/corecon/corecon.cpp