mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 10:07:36 +03:00
Invert NO_TLS to JEMALLOC_TLS.
This commit is contained in:
parent
f3e139a1ef
commit
e24c7af35d
9 changed files with 28 additions and 28 deletions
|
|
@ -11,7 +11,7 @@ tcache_bin_info_t *tcache_bin_info;
|
|||
static unsigned stack_nelms; /* Total stack elms per tcache. */
|
||||
|
||||
/* Map of thread-specific caches. */
|
||||
#ifndef NO_TLS
|
||||
#ifdef JEMALLOC_TLS
|
||||
__thread tcache_t *tcache_tls JEMALLOC_ATTR(tls_model("initial-exec"));
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue