Fix deadlocks in debugger infrastructure on Mac
authorKai Koehne <kai.koehne@digia.com>
Mon, 7 Oct 2013 14:18:23 +0000 (16:18 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 16 Oct 2013 06:33:18 +0000 (08:33 +0200)
commitff28e3519dedb9bf0b4d1177b205b0b20cbec431
tree9791d3bc64fb3a11410eafdb264ad647842671b9
parentad7f91c59a87564d2d1d9baad407ba7b07a075a7
Fix deadlocks in debugger infrastructure on Mac

Set QReadWriteLocker to recursive. This is needed e.g. to allow
_q_changeServiceState to get a read lock when called from inside
receiveMessage.

Change-Id: I287a7c7f44e94005c0458825f8f6d1877ee914dd
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
src/qml/debugger/qqmldebugserver.cpp