Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:44:10

0001 //////////////////////////////////////////////////////////////////////////////
0002 //
0003 // (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost
0004 // Software License, Version 1.0. (See accompanying file
0005 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // See http://www.boost.org/libs/interprocess for documentation.
0008 //
0009 //////////////////////////////////////////////////////////////////////////////
0010 
0011 #ifndef BOOST_INTERPROCESS_MUTEX_FAMILY_HPP
0012 #define BOOST_INTERPROCESS_MUTEX_FAMILY_HPP
0013 
0014 #ifndef BOOST_CONFIG_HPP
0015 #  include <boost/config.hpp>
0016 #endif
0017 #
0018 #if defined(BOOST_HAS_PRAGMA_ONCE)
0019 #  pragma once
0020 #endif
0021 
0022 #include <boost/interprocess/detail/config_begin.hpp>
0023 #include <boost/interprocess/detail/workaround.hpp>
0024 
0025 #include <boost/interprocess/sync/interprocess_mutex.hpp>
0026 #include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
0027 #include <boost/interprocess/sync/null_mutex.hpp>
0028 
0029 //!\file
0030 //!Describes a shared interprocess_mutex family fit algorithm used to allocate objects in shared memory.
0031 
0032 namespace boost {
0033 
0034 namespace interprocess {
0035 
0036 //!Describes interprocess_mutex family to use with Interprocess framework
0037 //!based on boost::interprocess synchronization objects.
0038 struct mutex_family
0039 {
0040    typedef boost::interprocess::interprocess_mutex                 mutex_type;
0041    typedef boost::interprocess::interprocess_recursive_mutex       recursive_mutex_type;
0042 };
0043 
0044 //!Describes interprocess_mutex family to use with Interprocess frameworks
0045 //!based on null operation synchronization objects.
0046 struct null_mutex_family
0047 {
0048    typedef boost::interprocess::null_mutex                   mutex_type;
0049    typedef boost::interprocess::null_mutex                   recursive_mutex_type;
0050 };
0051 
0052 }  //namespace interprocess {
0053 
0054 }  //namespace boost {
0055 
0056 #include <boost/interprocess/detail/config_end.hpp>
0057 
0058 #endif   //#ifndef BOOST_INTERPROCESS_MUTEX_FAMILY_HPP
0059 
0060