Mercurial > hg > vamp-build-and-test
view DEPENDENCIES/generic/include/boost/interprocess/detail/multi_segment_services.hpp @ 99:5f61994de79a emscripten
Update subrepos
author | Chris Cannam |
---|---|
date | Fri, 04 Sep 2015 10:46:42 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line source
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/interprocess for documentation. // ////////////////////////////////////////////////////////////////////////////// #ifndef BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP #define BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP #if (defined _MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif #include <boost/interprocess/detail/config_begin.hpp> #include <boost/interprocess/detail/workaround.hpp> /*!\file Describes a named shared memory allocation user class. */ namespace boost { namespace interprocess { class multi_segment_services { public: virtual std::pair<void *, std::size_t> create_new_segment(std::size_t mem) = 0; virtual bool update_segments () = 0; virtual ~multi_segment_services() = 0; }; inline multi_segment_services::~multi_segment_services() {} }} //namespace boost { namespace interprocess { #include <boost/interprocess/detail/config_end.hpp> #endif //#ifdef BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP