For clean shutdown in the transceiver we need to cancel and join
running threads for orderly unwinding. Thread cancellation points
already exist, so we just need to be able to call on the threads to
exit out when stopping or shutting down.
Don't error when joining a NULL thread, which would be the case if a
thread was stopped before ever being started to begin with.
Signed-off-by: Tom Tsou <tom@tsou.cc>
This directory contains common-use classes, most of which are not specific to GSM.
Vector A vector class (NOT std::vector<>) that supports
aliased subvectors. Not resizable.
BitVector Bit-indexable vectors based on Vector.
Interthread A set of C++ wrappers for pthread facilities.
Sockets A set of C++ wrappers for Unix sockets.
Timeval A C++ wraper for struct timeval.
LinkLists Classes for simple linked lists of pointers.
Logger A logging interface based on syslogd.
Configuration A key-value configuration table.
Regexp A C++ wrapper on stdlib regular expressions.
Do "make tests" to build a series of unit tests for these classes.