libosmocore/src/gb
Harald Welte 171ef826e1 make all library-internal static buffers thread-local
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
2019-06-04 10:47:30 +02:00
..
Makefile.am Bump version: 1.0.1.143-cc72c → 1.1.0 2019-05-07 18:36:51 +02:00
common_vty.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
common_vty.h gb: drop special vty exit commands, use vty_install_default() 2017-09-27 14:04:08 +00:00
gb_internal.h NS: Add support for GPRS NS IP Sub-Network-Service (SNS) 2019-02-26 12:18:30 +01:00
gprs_bssgp.c deal with rate_ctr_group_alloc() returning NULL 2019-05-08 22:18:21 +00:00
gprs_bssgp_bss.c bssgp_tx_bvc_unblock(): Fix log message 2019-02-19 12:29:14 +00:00
gprs_bssgp_util.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gprs_bssgp_vty.c implement support for 3-digit MNC with leading zeros 2018-02-28 19:26:33 +01:00
gprs_ns.c make all library-internal static buffers thread-local 2019-06-04 10:47:30 +02:00
gprs_ns_frgre.c select: Rename BSC_FD_* constants to OSMO_FD_* 2019-03-21 16:02:01 +00:00
gprs_ns_sns.c gb/gprs_ns_sns.c: fix incorrect sizeof() calculation 2019-04-12 22:16:18 +07:00
gprs_ns_vty.c NS: Add support for GPRS NS IP Sub-Network-Service (SNS) 2019-02-26 12:18:30 +01:00
libosmogb.map Add _c versions of functions that otherwise return static buffers 2019-04-10 22:42:32 +00:00