1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

core(TLS): force TlsAbstraction initialization before main()

This commit is contained in:
Alexander Alekhin
2021-10-04 09:40:16 +00:00
parent 48c985e775
commit d20c9bde7e
+6
View File
@@ -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;