commit | 4755818efb01787b7098bd17946fa85686aeeee5 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Sep 25 15:18:14 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Tue Sep 25 15:47:47 2018 -0700 |
tree | 925d1799788f7753aa57f9a964682e1e58fae623 | |
parent | 2923d1746df152e920dcbfcf7214cfb6dd1b65c1 [diff] |
utility/timer: Callback should pass in the timer This makes the timer better resemble the other source types, and makes it easier to access timer properties from the callback. Since we do not yet have any committed users of this API it is safe to change it. Tested: Unit tests were run and builds work fine. Change-Id: I9ecb24a20bc822b2ab55900e47a7cae834ba873d 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