-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.0
-
None
Imagine an application which exposes multiple objects to DBus. Those objects all derive from common a base class "DBusService", which does:
QDBusConnection connection = QDBusConnection::sessionBus();
connection.registerObject("/" + mObjectIdentity, this);
connection.registerService(mServiceName);
If those objects are created in multiple threads, it should still work fine (right?), but these concurrent calls to QDBusConnection::registerService create a data race on the lastError variable in QDBusConnectionPrivate.