diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-10-28 17:23:09 -0700 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2014-11-05 10:46:10 +0100 |
commit | 6a2bdc4ee2dc49b5d89d09a1f255a7a0e2f18acf (patch) | |
tree | da833a329b9d4ed1e07f03b5a646722110d47a1d /src/dbus/qdbusconnection_p.h | |
parent | 54d4fb4f500dfb45d86b2046b90becd55783e48e (diff) |
Always lock the DBus dispatcher before dbus_connection_send*
We lock it before dbus_connection_send_with_reply (the async version) in
QDBusConnectionPrivate::sendWithReplyAsync. We weren't locking it before
send_with_reply_and_block and we apparently should. The locking around
the dbus_connection_send function might not be necessary, but let's do
it to be safe.
The lock now needs to be recursive because we may be inside
QDBusConnectionPrivate::doDispatch.
Task-number: QTBUG-42189
Change-Id: I7b6b350909359817ea8b3f9c693bced042c9779a
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'src/dbus/qdbusconnection_p.h')
0 files changed, 0 insertions, 0 deletions