comparison DEPENDENCIES/generic/include/boost/interprocess/sync/null_mutex.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
9 ////////////////////////////////////////////////////////////////////////////// 9 //////////////////////////////////////////////////////////////////////////////
10 10
11 #ifndef BOOST_INTERPROCESS_NULL_MUTEX_HPP 11 #ifndef BOOST_INTERPROCESS_NULL_MUTEX_HPP
12 #define BOOST_INTERPROCESS_NULL_MUTEX_HPP 12 #define BOOST_INTERPROCESS_NULL_MUTEX_HPP
13 13
14 #if (defined _MSC_VER) && (_MSC_VER >= 1200) 14 #ifndef BOOST_CONFIG_HPP
15 # include <boost/config.hpp>
16 #endif
17 #
18 #if defined(BOOST_HAS_PRAGMA_ONCE)
15 # pragma once 19 # pragma once
16 #endif 20 #endif
17 21
18 #include <boost/interprocess/detail/config_begin.hpp> 22 #include <boost/interprocess/detail/config_begin.hpp>
19 #include <boost/interprocess/detail/workaround.hpp> 23 #include <boost/interprocess/detail/workaround.hpp>
22 //!\file 26 //!\file
23 //!Describes null_mutex classes 27 //!Describes null_mutex classes
24 28
25 namespace boost { 29 namespace boost {
26 30
31 #if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
32
27 namespace posix_time 33 namespace posix_time
28 { class ptime; } 34 { class ptime; }
35
36 #endif //#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
29 37
30 namespace interprocess { 38 namespace interprocess {
31 39
32 //!Implements a mutex that simulates a mutex without doing any operation and 40 //!Implements a mutex that simulates a mutex without doing any operation and
33 //!simulates a successful operation. 41 //!simulates a successful operation.
34 class null_mutex 42 class null_mutex
35 { 43 {
36 /// @cond 44 #if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
37 null_mutex(const null_mutex&); 45 null_mutex(const null_mutex&);
38 null_mutex &operator= (const null_mutex&); 46 null_mutex &operator= (const null_mutex&);
39 /// @endcond 47 #endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
40 public: 48 public:
41 49
42 //!Constructor. 50 //!Constructor.
43 //!Empty. 51 //!Empty.
44 null_mutex(){} 52 null_mutex(){}