commit | a5f8596add59b7ba5716abe5b0caba21ed84a0f7 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Mon Oct 29 20:15:45 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Mon Oct 29 20:43:21 2018 -0700 |
tree | c193ccaea229853eafc4c689520fd833275409ff | |
parent | b53ef90218633a1b7c9b0e726a45d86ecb2bfaf0 [diff] |
utility/timer: Make movable Now that we can update the callbacks of our sources, we can move the timer object freely by updating the callback when moved. Tested: Unit tests pass, and we no longer see any valgrind issues when moving the timer object. Change-Id: I15baf97538459ca8b9c48b75dba77d09b7b5075b 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