commit | 9c97d2c4ef34256817fd39bdbaecdfafda4080df | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Fri Nov 02 17:25:36 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Fri Nov 02 17:57:07 2018 -0700 |
tree | 78f0751f881ef74e6211cd1541ce965c307c4763 | |
parent | 4460f26c1182f412b5ab07f093a0f078191995ef [diff] |
signal: Add idempotent block function This makes it trivial to block individual signals from being handled by a thread. Useful when tryng to set up signal handling in event loops. Tested: Builds and passes unit tests. Change-Id: I61739debe2a47ec0ec3e767cf138125c6f59165f Signed-off-by: William A. Kennington III <wak@google.com>
stdplus is a c++ project containing commonly used classes and functions for the Linux platform.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-examples --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