summaryrefslogtreecommitdiff
path: root/src/c11/impl/threads_win32_tls_callback.cpp
blob: 2d0506a75d23a986fdfe085e01f8a9d8167a810d (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"

struct tls_callback
{
   tls_callback()
   {
   }
   ~tls_callback()
   {
      __threads_win32_tls_callback();
   }
};
static thread_local tls_callback tls_callback_instance;