Commit Graph

2 Commits

Author SHA1 Message Date
Tom Tsou 274bda43a8 CommonLibs: Add thread cancellation capability
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>
2014-12-04 13:14:29 +01:00
Olga Bobrova d7ce14cbe7 Initial commit of OpenBTS-UMTS code 2014-10-16 14:42:05 -07:00