Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/jemalloc/include/jemalloc/internal Declare the ...
details: https://anonhg.NetBSD.org/src/rev/782b5c4ab54a
branches: trunk
changeset: 450442:782b5c4ab54a
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 14 19:13:17 2019 +0000
description:
Declare the tls model in external declarations. Pointed out by joerg.
diffstat:
external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h | 4 ++--
external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 2b5e5cdf5b03 -r 782b5c4ab54a external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h
--- a/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h Sun Apr 14 15:55:24 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h Sun Apr 14 19:13:17 2019 +0000
@@ -3,8 +3,8 @@
#endif
#define JEMALLOC_INTERNAL_TSD_MALLOC_THREAD_CLEANUP_H
-extern __thread tsd_t tsd_tls;
-extern __thread bool tsd_initialized;
+extern __thread tsd_t JEMALLOC_TLS_MODEL tsd_tls;
+extern __thread bool JEMALLOC_TLS_MODEL tsd_initialized;
extern bool tsd_booted;
/* Initialization/cleanup. */
diff -r 2b5e5cdf5b03 -r 782b5c4ab54a external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h
--- a/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h Sun Apr 14 15:55:24 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h Sun Apr 14 19:13:17 2019 +0000
@@ -3,7 +3,7 @@
#endif
#define JEMALLOC_INTERNAL_TSD_TLS_H
-extern __thread tsd_t tsd_tls;
+extern __thread tsd_t JEMALLOC_TLS_MODEL tsd_tls;
extern pthread_key_t tsd_tsd;
extern bool tsd_booted;
Home |
Main Index |
Thread Index |
Old Index