mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-04 10:30:35 +02:00
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17071>
18 lines
275 B
C++
18 lines
275 B
C++
/*
|
|
* 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;
|