Merge branch 'develop'

This commit is contained in:
Peter Dimov
2017-09-01 16:15:33 +03:00
2 changed files with 10 additions and 0 deletions

View File

@ -65,6 +65,15 @@ extern "C" __declspec(dllimport) void __stdcall DeleteCriticalSection(::_RTL_CRI
typedef ::CRITICAL_SECTION critical_section;
#if BOOST_PLAT_WINDOWS_RUNTIME
using ::InitializeCriticalSectionEx;
#else
using ::InitializeCriticalSection;
#endif
using ::EnterCriticalSection;
using ::LeaveCriticalSection;
using ::DeleteCriticalSection;
#endif // #ifndef BOOST_USE_WINDOWS_H
class lightweight_mutex

View File

@ -22,6 +22,7 @@ run intrusive_ptr_move_test.cpp ;
run intrusive_ref_counter_test.cpp ;
run atomic_count_test.cpp ;
run lw_mutex_test.cpp ;
run lw_mutex_test.cpp : : : <define>BOOST_USE_WINDOWS_H : lw_mutex_test.win_h ;
compile-fail shared_ptr_assign_fail.cpp ;
compile-fail shared_ptr_delete_fail.cpp ;
compile-fail shared_ptr_compare_fail.cpp ;