h1-mod/src/tlsdll/dllmain.cpp
2022-02-03 11:05:24 -08:00

8 lines
148 B
C++

#define TLS_PAYLOAD_SIZE 0x2000
thread_local char tls_data[TLS_PAYLOAD_SIZE];
__declspec(dllexport) void* get_tls_data()
{
return &tls_data[0];
}