summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusconnection_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-03-30 19:38:32 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-09-15 02:08:55 +0000
commite15e5b1d37de1903d9c19c239d15440a783dc051 (patch)
tree8499a5341f43a980a3d888f0621b92321ed4bd4a /src/dbus/qdbusconnection_p.h
parentcc5ab92cd9e06511f7a65cc3195f01a730591768 (diff)
Bypass connectSignal() for receiving the NameOwnerChanged signal
This is an optimization but is required. Instead of going through the entire (dis)connectSignal() stack to add/remove matching rules for the NameOwnerChanged bus signal and call into our serviceOwnerChangedNoLock slot, create a static hook that will match the signal and simply add/ remove the rules as needed. The required part is that this avoids a recursion into connectSignal(). The next commit will move this code to the QtDBus manager thread and we won't be able to call connectSignal() from there (it would create a deadlock). Change-Id: Iee8cbc07c4434ce9b560ffff13d074ce90ad02d4 Reviewed-by: Albert Astals Cid <aacid@kde.org> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/dbus/qdbusconnection_p.h')
0 files changed, 0 insertions, 0 deletions