1 /* 2 * Copyright 2022 Yonggang Luo 3 * SPDX-License-Identifier: MIT 4 */ 5 6 #include "threads_win32.h" 7 8 struct tls_callback 9 { tls_callbacktls_callback10 tls_callback() 11 { 12 } ~tls_callbacktls_callback13 ~tls_callback() 14 { 15 __threads_win32_tls_callback(); 16 } 17 }; 18 static thread_local tls_callback tls_callback_instance; 19