mirror of https://gerrit.osmocom.org/libosmocore
Harald Welte
171ef826e1
We have a number of library-internal static global buffers which are mainly used for various stringification functions. This worked as all of the related Osmocom programs were strictly single-threaded. Let's make those buffers at least thread-local. This way every thread gets their own set of buffers, and it's safe for multiple threads to execute the same functions once. They're of course still not re-entrant. If you need re-entrancy, you will need to use the _c() or _buf() suffix version of those functions and work with your own (stack or heap) buffers. Change-Id: I50eb2436a7c1261d79a9d2955584dce92780ca07 |
||
---|---|---|
.. | ||
Makefile.am | ||
common_vty.c | ||
common_vty.h | ||
gb_internal.h | ||
gprs_bssgp.c | ||
gprs_bssgp_bss.c | ||
gprs_bssgp_util.c | ||
gprs_bssgp_vty.c | ||
gprs_ns.c | ||
gprs_ns_frgre.c | ||
gprs_ns_sns.c | ||
gprs_ns_vty.c | ||
libosmogb.map |