Commit Graph

4 Commits

Author SHA1 Message Date
FlUxIuS cfcd34b06e Fixes for C++17 2023-01-04 13:29:18 +01:00
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
Tom Tsou 19724e36a8 build: ASN.1 and GCC build fixes
Address trivial build issues on certain Linux distribuitions (e.g.
Fedora 20 on which this patch was tested).

Most standard C++ libraries had unistd.h removed in GCC 4.7, so add it
back in explicitly.

Resolve the following ASN.1 build error by specifying the C language
tag.

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

Signed-off-by: Tom Tsou <tom@tsou.cc>
2014-12-04 13:14:12 +01:00
Olga Bobrova d7ce14cbe7 Initial commit of OpenBTS-UMTS code 2014-10-16 14:42:05 -07:00