1 //////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2006-2012. Distributed under the Boost
4 // Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // See http://www.boost.org/libs/interprocess for documentation.
9 //////////////////////////////////////////////////////////////////////////////
11 #include <boost/interprocess/detail/config_begin.hpp>
12 #include <boost/interprocess/detail/workaround.hpp>
13 #include <boost/interprocess/sync/interprocess_condition.hpp>
14 #include <boost/interprocess/sync/interprocess_mutex.hpp>
15 #include "condition_test_template.hpp"
17 #if defined(BOOST_INTERPROCESS_WINDOWS)
18 #include <boost/interprocess/sync/windows/condition.hpp>
19 #include <boost/interprocess/sync/windows/mutex.hpp>
20 #include <boost/interprocess/sync/spin/condition.hpp>
21 #include <boost/interprocess/sync/spin/mutex.hpp>
24 using namespace boost::interprocess;
28 #if defined(BOOST_INTERPROCESS_WINDOWS)
29 if(!test::do_test_condition<ipcdetail::windows_condition, ipcdetail::windows_mutex>())
31 if(!test::do_test_condition<ipcdetail::spin_condition, ipcdetail::spin_mutex>())
34 if(!test::do_test_condition<interprocess_condition, interprocess_mutex>())
40 #include <boost/interprocess/detail/config_end.hpp>