dbus-c++: Add support for deferred object registration.

This allows us to avoid a nasty antipattern caused by inability to register
objects from a signal handler (which ordinarily causes a deadlock as we reenter
the dispatch loop in dbus-c++).

BUG=chromium-os:11752
TEST=Adhoc

Change-Id: Ic6a92b5ee706988206ccd0603da776fb2c9685ce
Signed-off-by: Elly Jones <[email protected]>
Reviewed-on: http://gerrit.chromium.org/gerrit/1649
Reviewed-by: Jason Glasgow <[email protected]>
2 files changed