]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/interprocess/test/sharable_mutex_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / interprocess / test / sharable_mutex_test.cpp
CommitLineData
7c673cae
FG
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
7c673cae
FG
11#include "mutex_test_template.hpp"
12#include "sharable_mutex_test_template.hpp"
13#include <boost/interprocess/sync/interprocess_sharable_mutex.hpp>
14#include <boost/interprocess/sync/scoped_lock.hpp>
15#include <boost/interprocess/sync/sharable_lock.hpp>
7c673cae
FG
16#include "util.hpp"
17
18int main ()
19{
20 using namespace boost::interprocess;
21
22 test::test_all_lock<interprocess_sharable_mutex>();
23 test::test_all_mutex<interprocess_sharable_mutex>();
24 test::test_all_sharable_mutex<interprocess_sharable_mutex>();
25
26 return 0;
27}