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
15#include "named_mutex_test_helpers.hpp"
16#include <boost/interprocess/sync/windows/named_mutex.hpp>
17
18using namespace boost::interprocess;
19
20int main()
21{
22 return test::test_named_mutex<ipcdetail::winapi_named_mutex>();
23}
24
25#else
26
27int main()
28{
29 return 0;
30}
31
32#endif
33

source code of boost/libs/interprocess/test/winapi_named_mutex_test.cpp