68 #if !defined(SWIG) || defined(SWIG_THREADING) // Do not read when in swig and not in the threading module
76 #if defined(_MEZZ_THREAD_WIN32_)
77 #if defined(__MINGW64_VERSION_MAJOR)
78 struct _RTL_CRITICAL_SECTION;
79 typedef _RTL_CRITICAL_SECTION CRITICAL_SECTION;
80 #else//__MINGW64_VERSION_MAJOR
81 class _CRITICAL_SECTION;
82 typedef _CRITICAL_SECTION CRITICAL_SECTION;
83 #endif//__MINGW64_VERSION_MAJOR
84 #endif//_MEZZ_THREAD_WIN32_
99 #ifdef _MEZZ_CPP11_PARTIAL_
106 #ifdef _MEZZ_CPP11_PARTIAL_
114 #if defined(_MEZZ_THREAD_WIN32_)
115 CRITICAL_SECTION* mHandle;
119 pthread_mutex_t mHandle;