commit | 78a5df906f563c99c451ea2355917ce414685a30 | [log] [tgz] |
---|---|---|
author | Alexander Soldatov <a.soldatov@yadro.com> | Fri Nov 23 14:37:50 2018 +0300 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Dec 06 14:02:47 2018 +0000 |
tree | 74b88e89e3ae4dbc17753e5dd268893b5bc7ffde | |
parent | 223c40931e4f413431ab2f84d92c5f404e2d9cf2 [diff] |
Saving current context in DeferrableCallback added. DeferrableCallback operator() saves the context in self instance. When the timer expires, it calls operator() for the ConditionalCallback with the context saved in DeferrableCallback instance. Resolves openbmc/phosphor-dbus-monitor#1 Change-Id: I8d235b0747005c403829f8262d0290548b0a9910 Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com>