Add the --disable-tls configure option.

This commit is contained in:
Jason Evans
2010-01-17 14:06:20 -08:00
parent b0fd5016db
commit 78d815c9de
2 changed files with 53 additions and 34 deletions

View File

@@ -89,6 +89,12 @@ any of the following arguments (not a definitive list) to 'configure':
practice, this feature usually has little impact on performance unless
thread-specific caching is disabled.
--disable-tls
Disable thread-local storage (TLS), which allows for fast access to
thread-local variables via the __thread keyword. If TLS is available,
jemalloc uses it for several purposes. Not that disabling TLS implies
--disable-tcache.
The following environment variables (not a definitive list) impact configure's
behavior: