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#include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
13#include <boost/interprocess/sync/scoped_lock.hpp>
14#include "mutex_test_template.hpp"
15
16int main ()
17{
18 using namespace boost::interprocess;
19 test::test_all_lock<interprocess_recursive_mutex>();
20 test::test_all_mutex<interprocess_recursive_mutex>();
21 test::test_all_recursive_lock<interprocess_recursive_mutex>();
22
23 return 0;
24}
25

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