#include <stddef.h>
#include <time.h>
#include <locale.h>
#include <windef.h>
#include <winbase.h>
#include <winnt.h>
#include <internal/wine/eh.h>
Go to the source code of this file.
◆ MSVCRT_DISABLE_PER_THREAD_LOCALE
| #define MSVCRT_DISABLE_PER_THREAD_LOCALE 2 |
Definition at line 66 of file tls.h.
◆ MSVCRT_ENABLE_PER_THREAD_LOCALE
| #define MSVCRT_ENABLE_PER_THREAD_LOCALE 1 |
Definition at line 65 of file tls.h.
◆ thread_data_t
Definition at line 58 of file tls.h.
◆ msvcrt_free_tls()
Definition at line 21 of file tls.c.
22{
24 {
25 ERR(
"TlsFree() failed!\n");
27 }
29}
BOOL WINAPI TlsFree(IN DWORD Index)
static DWORD msvcrt_tls_index
◆ msvcrt_free_tls_mem()
Definition at line 53 of file tls.c.
54{
56
58 {
66
67
68
69
70 }
72}
#define HeapFree(x, y, z)
LPVOID WINAPI TlsGetValue(IN DWORD Index)
◆ msvcrt_get_thread_data()
Definition at line 45 of file thread.c.
46{
49
51 {
60 ptr->cached_locale[0] =
'C';
61 ptr->cached_locale[1] = 0;
62#if _MSVCR_VER >= 140
64#endif
65 }
68}
#define INVALID_HANDLE_VALUE
BOOL WINAPI TlsSetValue(IN DWORD Index, IN LPVOID Value)
void CDECL _amsg_exit(int errnum)
DWORD WINAPI GetLastError(void)
DWORD WINAPI GetCurrentThreadId(void)
◆ msvcrt_init_tls()
Definition at line 9 of file tls.c.
10{
12
14 {
15 ERR(
"TlsAlloc() failed!\n");
17 }
19}
DWORD WINAPI DECLSPEC_HOTPATCH TlsAlloc(void)
#define TLS_OUT_OF_INDEXES
◆ tls_index