1 #ifndef BOOST_SMART_PTR_DETAIL_LWM_WIN32_CS_HPP_INCLUDED
2 #define BOOST_SMART_PTR_DETAIL_LWM_WIN32_CS_HPP_INCLUDED
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
23 #ifdef BOOST_USE_WINDOWS_H
33 #ifndef BOOST_USE_WINDOWS_H
49 #if BOOST_PLAT_WINDOWS_RUNTIME
62 #endif // #ifndef BOOST_USE_WINDOWS_H
77 #if BOOST_PLAT_WINDOWS_RUNTIME
78 InitializeCriticalSectionEx(&
cs_, 4000, 0);
80 InitializeCriticalSection(&
cs_);
86 DeleteCriticalSection(&
cs_);
105 EnterCriticalSection(&
m_.cs_);
110 LeaveCriticalSection(&
m_.cs_);
119 #endif // #ifndef BOOST_SMART_PTR_DETAIL_LWM_WIN32_CS_HPP_INCLUDED