Manager: Separate query and listen Dbus-connections.

Fix a race-condition where two threads might use the same dbus connection at
the same time.
Flush Dbus messages before statring the Dbus-thread. Initial Dbus messages are
buffered, and not handled until the first trigger to poll(). This will flush
these messages before starting the Dbus thread.

Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
1 file changed