commit | 2584f9d7b91e2d14ddc9bdcb45fc5133a083b522 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Sat Mar 23 21:05:48 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Fri Mar 29 15:10:15 2019 -0700 |
tree | e6cb265a5088b3fbc3ace4568d45c588c9ef5bcc | |
parent | 9ce0d10bd5f10c9aa218817df879388d7d169379 [diff] |
example/heartbeat: Add signal handling This makes the example a little more interesting as we now have multiple sources and we can analyze memory safety with valgrind by just sending a SIGINT to quit cleanly. Change-Id: Id15fe58f798d3b137f91228025f48a5e4cd5fc50 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