mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 16:22:19 +00:00
* Spin and Shm based utilities will be tested independently. * Includes some refactoring to avoid copy-pasting some code in several similar synchronization primitive tests.
33 lines
810 B
C++
33 lines
810 B
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// (C) Copyright Ion Gaztanaga 2004-2012. Distributed under the Boost
|
|
// Software License, Version 1.0. (See accompanying file
|
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
// See http://www.boost.org/libs/interprocess for documentation.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include <boost/interprocess/detail/workaround.hpp>
|
|
|
|
#ifdef BOOST_INTERPROCESS_WINDOWS
|
|
|
|
#include "named_mutex_test_helpers.hpp"
|
|
#include <boost/interprocess/sync/windows/named_recursive_mutex.hpp>
|
|
|
|
using namespace boost::interprocess;
|
|
|
|
int main()
|
|
{
|
|
return test::test_named_recursive_mutex<ipcdetail::winapi_named_recursive_mutex>();
|
|
}
|
|
|
|
#else
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif
|