Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-07 08:07:50

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 ">#
0019 #if defined(BOOST_HAS_PRAGMA_ONCE)
0020 #  pragma once
0021 #endif
0022 
0023 #include <boost/interprocess/detail/config_begin.hpp>
0024 #include <boost/interprocess/detail/workaround.hpp>
0025 
0026 #include <boost/interprocess/sync/interprocess_mutex.hpp>
0027 #include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
0028 #include <boost/interprocess/sync/null_mutex.hpp>
0029 
0030 //!\file
0031 //!Describes a shared interprocess_mutex family fit algorithm used to allocate objects in shared memory.
0032 
0033 namespace boost {
0034 
0035 namespace interprocess {
0036 
0037 //!Describes interprocess_mutex family to use with Interprocess framework
0038 //!based on boost::interprocess synchronization objects.
0039 struct mutex_family
0040 {
0041    typedef boost::interprocess::interprocess_mutex                 mutex_type;
0042    typedef boost::interprocess::interprocess_recursive_mutex       recursive_mutex_type;
0043 };
0044 
0045 //!Describes interprocess_mutex family to use with Interprocess frameworks
0046 //!based on null operation synchronization objects.
0047 struct null_mutex_family
0048 {
0049    typedef boost::interprocess::null_mutex                   mutex_type;
0050    typedef boost::interprocess::null_mutex                   recursive_mutex_type;
0051 };
0052 
0053 }  //namespace interprocess {
0054 
0055 }  //namespace boost {
0056 
0057 #include <boost/interprocess/detail/config_end.hpp>
0058 
0059 #endif   //#ifndef BOOST_INTERPROCESS_MUTEX_FAMILY_HPP
0060 
0061