1 | ////////////////////////////////////////////////////////////////////////////// |
2 | // |
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) |
6 | // |
7 | // See http://www.boost.org/libs/interprocess for documentation. |
8 | // |
9 | ////////////////////////////////////////////////////////////////////////////// |
10 | |
11 | #include <boost/interprocess/detail/workaround.hpp> |
12 | #include "condition_test_template.hpp" |
13 | |
14 | #if defined(BOOST_INTERPROCESS_WINDOWS) |
15 | #include <boost/interprocess/sync/windows/condition.hpp> |
16 | #include <boost/interprocess/sync/windows/mutex.hpp> |
17 | |
18 | using namespace boost::interprocess; |
19 | |
20 | int main () |
21 | { |
22 | if(!test::do_test_condition<ipcdetail::winapi_condition, ipcdetail::winapi_mutex>()) |
23 | return 1; |
24 | return 0; |
25 | } |
26 | |
27 | #else |
28 | int main() |
29 | { |
30 | return 0; |
31 | } |
32 | #endif |