Chris@16: ////////////////////////////////////////////////////////////////////////////// Chris@16: // Chris@16: // (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost Chris@16: // Software License, Version 1.0. (See accompanying file Chris@16: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: // See http://www.boost.org/libs/interprocess for documentation. Chris@16: // Chris@16: ////////////////////////////////////////////////////////////////////////////// Chris@16: Chris@16: #ifndef BOOST_INTERPROCESS_MUTEX_FAMILY_HPP Chris@16: #define BOOST_INTERPROCESS_MUTEX_FAMILY_HPP Chris@16: Chris@101: #ifndef BOOST_CONFIG_HPP Chris@101: # include Chris@101: #endif Chris@101: # Chris@101: #if defined(BOOST_HAS_PRAGMA_ONCE) Chris@16: # pragma once Chris@16: #endif Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: //!\file Chris@16: //!Describes a shared interprocess_mutex family fit algorithm used to allocate objects in shared memory. Chris@16: Chris@16: namespace boost { Chris@16: Chris@16: namespace interprocess { Chris@16: Chris@16: //!Describes interprocess_mutex family to use with Interprocess framework Chris@16: //!based on boost::interprocess synchronization objects. Chris@16: struct mutex_family Chris@16: { Chris@16: typedef boost::interprocess::interprocess_mutex mutex_type; Chris@16: typedef boost::interprocess::interprocess_recursive_mutex recursive_mutex_type; Chris@16: }; Chris@16: Chris@16: //!Describes interprocess_mutex family to use with Interprocess frameworks Chris@16: //!based on null operation synchronization objects. Chris@16: struct null_mutex_family Chris@16: { Chris@16: typedef boost::interprocess::null_mutex mutex_type; Chris@16: typedef boost::interprocess::null_mutex recursive_mutex_type; Chris@16: }; Chris@16: Chris@16: } //namespace interprocess { Chris@16: Chris@16: } //namespace boost { Chris@16: Chris@16: #include Chris@16: Chris@16: #endif //#ifndef BOOST_INTERPROCESS_MUTEX_FAMILY_HPP Chris@16: Chris@16: