1 | ////////////////////////////////////////////////////////////////////////////// |
2 | // |
3 | // (C) Copyright Ion Gaztanaga 2004-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 | |
13 | #ifdef BOOST_INTERPROCESS_WINDOWS |
14 | #include "named_condition_test_helpers.hpp" |
15 | |
16 | #include <boost/interprocess/sync/windows/named_condition.hpp> |
17 | #include <boost/interprocess/sync/windows/named_mutex.hpp> |
18 | |
19 | using namespace boost::interprocess; |
20 | |
21 | int main() |
22 | { |
23 | return test::test_named_condition<ipcdetail::winapi_named_condition, ipcdetail::winapi_named_mutex>(); |
24 | } |
25 | |
26 | #else |
27 | |
28 | int main() |
29 | { |
30 | return 0; |
31 | } |
32 | |
33 | #endif |
34 | |