Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/interprocess/sync/mutex_family.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 ////////////////////////////////////////////////////////////////////////////// | |
2 // | |
3 // (C) Copyright Ion Gaztanaga 2005-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 #ifndef BOOST_INTERPROCESS_MUTEX_FAMILY_HPP | |
12 #define BOOST_INTERPROCESS_MUTEX_FAMILY_HPP | |
13 | |
14 #if (defined _MSC_VER) && (_MSC_VER >= 1200) | |
15 # pragma once | |
16 #endif | |
17 | |
18 #include <boost/interprocess/detail/config_begin.hpp> | |
19 #include <boost/interprocess/detail/workaround.hpp> | |
20 | |
21 #include <boost/interprocess/sync/interprocess_mutex.hpp> | |
22 #include <boost/interprocess/sync/interprocess_recursive_mutex.hpp> | |
23 #include <boost/interprocess/sync/null_mutex.hpp> | |
24 | |
25 //!\file | |
26 //!Describes a shared interprocess_mutex family fit algorithm used to allocate objects in shared memory. | |
27 | |
28 namespace boost { | |
29 | |
30 namespace interprocess { | |
31 | |
32 //!Describes interprocess_mutex family to use with Interprocess framework | |
33 //!based on boost::interprocess synchronization objects. | |
34 struct mutex_family | |
35 { | |
36 typedef boost::interprocess::interprocess_mutex mutex_type; | |
37 typedef boost::interprocess::interprocess_recursive_mutex recursive_mutex_type; | |
38 }; | |
39 | |
40 //!Describes interprocess_mutex family to use with Interprocess frameworks | |
41 //!based on null operation synchronization objects. | |
42 struct null_mutex_family | |
43 { | |
44 typedef boost::interprocess::null_mutex mutex_type; | |
45 typedef boost::interprocess::null_mutex recursive_mutex_type; | |
46 }; | |
47 | |
48 } //namespace interprocess { | |
49 | |
50 } //namespace boost { | |
51 | |
52 #include <boost/interprocess/detail/config_end.hpp> | |
53 | |
54 #endif //#ifndef BOOST_INTERPROCESS_MUTEX_FAMILY_HPP | |
55 | |
56 |