Module Name:    src
Committed By:   christos
Date:           Sun Apr 14 19:13:18 UTC 2019

Modified Files:
        src/external/bsd/jemalloc/include/jemalloc/internal:
            tsd_malloc_thread_cleanup.h tsd_tls.h

Log Message:
Declare the tls model in external declarations. Pointed out by joerg.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    
src/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h 
\
    src/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h:1.1 src/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h:1.2
--- src/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h:1.1	Mon Mar  4 12:25:09 2019
+++ src/external/bsd/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h	Sun Apr 14 15:13:17 2019
@@ -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. */
Index: src/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h:1.1 src/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h:1.2
--- src/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h:1.1	Mon Mar  4 12:25:09 2019
+++ src/external/bsd/jemalloc/include/jemalloc/internal/tsd_tls.h	Sun Apr 14 15:13:17 2019
@@ -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;
 

Reply via email to