diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-04 22:32:12 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-19 16:28:06 -0400 |
commit | d9c1fabbed87b29d96f0afb05bdc4a1d61c2ced4 (patch) | |
tree | cdb3f6371dde97efaaf10fe5c43e729c0063b7aa /src/sdevent.hpp | |
parent | ce4fbe111da9375e9614e018547e90092df6ec4b (diff) | |
download | phosphor-dbus-monitor-d9c1fabbed87b29d96f0afb05bdc4a1d61c2ced4.tar.gz phosphor-dbus-monitor-d9c1fabbed87b29d96f0afb05bdc4a1d61c2ced4.zip |
Attach sdevent mainloop to dbus
Switch from sd_bus process to sd_event run so that sd event
handlers are invoked.
Change-Id: If7c1f046f30cc845c6e9fcc72eb99c5bdfb36052
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/sdevent.hpp')
-rw-r--r-- | src/sdevent.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sdevent.hpp b/src/sdevent.hpp index be8b510..dc912c1 100644 --- a/src/sdevent.hpp +++ b/src/sdevent.hpp @@ -3,6 +3,8 @@ #include "sdevent/event.hpp" #include "sdevent/timer.hpp" +struct Loop; + namespace phosphor { namespace dbus @@ -29,6 +31,8 @@ class SDEvent { return getEvent().now(); } + + friend Loop; }; /** @class SDEventTimer |