• yuriyluxriot's avatar
    Merge pull request #15812 from yuriyluxriot:fls_replaces_tls · 4e156a16
    yuriyluxriot authored
    * Use FlsAlloc/FlsFree/FlsGetValue/FlsSetValue instead of TlsAlloc/TlsFree/TlsGetValue/TlsSetValue to implment TLS value cleanup when thread has been terminated on Windows Vista and above
    
    * Fix 32-bit build
    
    * Fixed calling convention of cleanup callback
    
    * WINAPI changed to NTAPI
    
    * Use proper guard macro
    4e156a16
system.cpp 73.7 KB