commit | 27b7301a3a18f5b8a77363f0f087d0cff960e9ff | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Oct 18 01:12:09 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Oct 18 01:15:03 2018 -0700 |
tree | afb994958a9065a1ce9ead70a494ca04ebff9025 | |
parent | c07ddb5ad6179eda358b3bb5362609b65eafd108 [diff] |
utility/timer: Make it possible to get the Event Other event sources expose the ability to get th event used for constructing the source. Since our timer is basically just a time source, we should be able to trivially get the event object. Tested: Built and run through unit tests Change-Id: I4b4192797652a903cba90d6e73771014df7702d6 Signed-off-by: William A. Kennington III <wak@google.com>
sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.
The sdeventplus library requires libsystemd for sd-event.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-tests make make install
For a test / debug build, a typical configuration is
./bootstrap.sh ./configure --enable-tests --enable-coverage --enable-valgrind make make check make check-valgrind make check-code-coverage