diff options
author | Harald Welte <laforge@osmocom.org> | 2020-03-16 21:51:54 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-03-16 21:57:45 +0100 |
commit | b732f857d3cbd7328f8dbb0b85edd148a61f33f6 (patch) | |
tree | 29277932ef57d0bc6ea49528d590a02f7c85abac /src/context.c | |
parent | 0609b8cc8206e94ddd316d4c570abf19f08a8d63 (diff) |
HACK: Disable the use of thread-local storagelaforge/notls-hack
This will disable the thread-safe use of many libosmo* featues,
but it seems even in 2020 there are still systems out there
wthat don't support thread-local-storage.
Related: OS#4456
Related: OS#4062
Change-Id: I9baa7047fc4ff1a595ee318dcdb1247f1460da1b
Diffstat (limited to 'src/context.c')
-rw-r--r-- | src/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.c b/src/context.c index bad012bd..bf13557e 100644 --- a/src/context.c +++ b/src/context.c @@ -26,7 +26,7 @@ #include <osmocom/core/talloc.h> #include <osmocom/core/utils.h> -__thread struct osmo_talloc_contexts *osmo_ctx; + struct osmo_talloc_contexts *osmo_ctx; int osmo_ctx_init(const char *id) { |