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/e6225f1d27c7
branches:  trunk
changeset: 455812:e6225f1d27c7
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 5757c2975829 -r e6225f1d27c7 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 5757c2975829 -r e6225f1d27c7 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