laforge
/
openbts-osmo
Archived
1
0
Fork 0
This repository has been archived on 2022-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
openbts-osmo/public-trunk/CommonLibs
Thomas Tsou baffdf3e65 uhd: fix seg fault at startup
On the E100, and possibly other systems, OpenBTS seg faults
at startup. The cause is a null reference to the global
logging file descriptor occuring due to an initializer order
dependency, which is not guaranteed across compilation
units.

When this occurs, check for for null and set the output to
stdout.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-05-04 23:08:25 -04:00
..
BitVector.cpp common libs: Implemented BitVector::unhex() which reads a hex string into a BitVector. 2010-12-21 18:28:45 +03:00
BitVector.h common libs: Implemented BitVector::unhex() which reads a hex string into a BitVector. 2010-12-21 18:28:45 +03:00
BitVectorTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Configuration.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Configuration.h Move more code out of asserts. 2010-12-21 17:45:55 +03:00
ConfigurationTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
F16.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
F16Test.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Interthread.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
InterthreadTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
LinkedLists.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
LinkedLists.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
LogTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Logger.cpp uhd: fix seg fault at startup 2011-05-04 23:08:25 -04:00
Logger.h common libs: Implemented ISLOGGING() macro to test whether given loglevel is going to be logged. 2010-12-21 18:29:23 +03:00
Makefile.am Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
README.common Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07:00
Regexp.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
RegexpTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Sockets.cpp common libs: Use gethostbyname2_r() instead of gethostbyname() if available. 2010-12-21 18:11:14 +03:00
Sockets.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
SocketsTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Threads.cpp Don't put real code into assert(). 2010-12-21 17:42:09 +03:00
Threads.h Don't put real code into assert(). 2010-12-21 17:42:09 +03:00
Timeval.cpp Fix a bug with Timeval difference calculation on 64-bit Linux. 2010-12-21 17:38:21 +03:00
Timeval.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
TimevalTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
Vector.h Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
VectorTest.cpp Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
example.config Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07:00

README.common

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.

Do "make tests" to build a series of unit tests for these classes.