mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03:00
Leverage new Windows API TlsGetValue2 for performance
This commit is contained in:
parent
e29ac61987
commit
9e123a833c
3 changed files with 32 additions and 4 deletions
|
|
@ -25,6 +25,10 @@ bool tsd_booted = false;
|
|||
DWORD tsd_tsd;
|
||||
tsd_wrapper_t tsd_boot_wrapper = {false, TSD_INITIALIZER};
|
||||
bool tsd_booted = false;
|
||||
#if JEMALLOC_WIN32_TLSGETVALUE2
|
||||
TGV2 tls_get_value2 = NULL;
|
||||
HMODULE tgv2_mod = NULL;
|
||||
#endif
|
||||
#else
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue