mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Merge pull request #20802 from alalek:core_tls_init_TlsAbstraction
This commit is contained in:
commit
e585192eeb
@ -1834,6 +1834,12 @@ static void WINAPI opencv_fls_destructor(void* pData)
|
||||
#endif // CV_USE_FLS
|
||||
#endif // _WIN32
|
||||
|
||||
static TlsAbstraction* const g_force_initialization_of_TlsAbstraction
|
||||
#if defined __GNUC__
|
||||
__attribute__((unused))
|
||||
#endif
|
||||
= getTlsAbstraction();
|
||||
|
||||
} // namespace details
|
||||
using namespace details;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user