Implement regular event launching using systemd event loop
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:20:42 +0000 (17:20 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:20:42 +0000 (17:20 +0100)
commit76df856e0df1b67770038e657f526f915c11a140
tree413bb8405bc9a1abe0a0a029eaf483682347dc23
parent6cdc94206f3c0cc60dca5ed024619b78dff01a64
Implement regular event launching using systemd event loop

Regular events is made launch a timerfd event from binder event loop and then
in the event handler, reschedule next launch in the future based upon the
signal frequency.

Change-Id: I0b1e84eb2135474f4bcc5ee256ba513eea4035a6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/diagnostic/diagnostic-manager.cpp
src/utils/timer.cpp
src/utils/timer.hpp