]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/interprocess/test/sharable_mutex_test.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / interprocess / test / sharable_mutex_test.cpp
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/config_begin.hpp>
12 #include "mutex_test_template.hpp"
13 #include "sharable_mutex_test_template.hpp"
14 #include <boost/interprocess/sync/interprocess_sharable_mutex.hpp>
15 #include <boost/interprocess/sync/scoped_lock.hpp>
16 #include <boost/interprocess/sync/sharable_lock.hpp>
17 #include <boost/date_time/posix_time/posix_time_types.hpp>
18 #include "util.hpp"
19
20 int main ()
21 {
22 using namespace boost::interprocess;
23
24 test::test_all_lock<interprocess_sharable_mutex>();
25 test::test_all_mutex<interprocess_sharable_mutex>();
26 test::test_all_sharable_mutex<interprocess_sharable_mutex>();
27
28 return 0;
29 }
30
31 #include <boost/interprocess/detail/config_end.hpp>