blob: 27874c08c7db07646b6026b8a61c35e8b0db5139 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* Copyright 2022 Yonggang Luo
* SPDX-License-Identifier: MIT
*/
#include "threads_win32.h"
#ifdef KIT_HAVE_WINDOWS
struct tls_callback {
tls_callback() { }
~tls_callback() {
__threads_win32_tls_callback();
}
};
static thread_local tls_callback tls_callback_instance;
#endif
|