46 }
catch (boost::interprocess::interprocess_exception
const& iExcept) {
48 <<
"in growBuffer while destroying the shared memory object the following exception was caught\n" 54 }
catch (boost::interprocess::interprocess_exception
const& iExcept) {
57 <<
"' the following exception was caught\n" 62 sm_ = std::make_unique<boost::interprocess::managed_shared_memory>(
63 boost::interprocess::open_or_create,
bufferNames_[newBuffer].c_str(), iLength + 1024);
64 }
catch (boost::interprocess::interprocess_exception
const& iExcept) {
65 throw cms::Exception(
"SharedMemory") <<
"in growBuffer while creating the shared memory object '" 66 <<
bufferNames_[newBuffer] <<
"' of length " << iLength + 1024
67 <<
" the following exception was caught\n" constexpr char const *const kBuffer
void growBuffer(std::size_t iLength)
std::array< std::string, 2 > bufferNames_
def remove(d, key, TELL=False)
std::unique_ptr< boost::interprocess::managed_shared_memory > sm_