YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
thread_local.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#if YACLIB_FAULT_THREAD_LOCAL == 2
4
# include <
yaclib/fault/detail/fiber/thread_local_proxy.hpp
>
5
6
# define YACLIB_THREAD_LOCAL_PTR(type) yaclib::detail::fiber::ThreadLocalPtrProxy<type>
7
8
#else
9
10
# define YACLIB_THREAD_LOCAL_PTR(type) thread_local type*
11
#endif
thread_local_proxy.hpp
include
yaclib_std
detail
thread_local.hpp
Generated by
1.9.8