boost-interprocess
C++ BOOST: windows shared memory get_size() returns zero
The below is from the official BOOST docs. Why do I always get size of zero when calling region.get_size() ? What am I doing wrong?[详细]
2023-01-09 05:24 分类:问答Is boost::interprocess ready for prime time? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-01-06 12:47 分类:问答Boost::Interprocess Shared Memory Bus Error
I\'m using CentOS 5.4 x86_64 and Boost 1.42.0 on a cluster that uses Open-MPI 1.3.3.I\'m writing a shared library that uses shared memory to store large amounts of data for multiple processes to use.T[详细]
2023-01-04 23:48 分类:问答boost::interprocess::message_queue stops working in Release mode with visual C++
I am using boost::interprocess::message_queue, with VC++ (in Microsoft Visual Studio 2005). It is working properly in Debug mode.[详细]
2022-12-27 17:50 分类:问答Boost::Interprocess Container Container Resizing No Default Constructor
After combing through the Boost::Interprocess documentation 开发者_开发问答and Google searches, I think I\'ve found the reason/workaround to my issue.Everything I\'ve found, as I understand it, seems[详细]
2022-12-27 14:24 分类:问答Boost.MultiIndex: Are there way to share object between two processes?
I have a Boost.MultiIndex big array about 10Gb. In order to reduce the reading I thought there should be a wayto keep the data in the memory and another client programs will be able to read and analys[详细]
2022-12-26 08:47 分类:问答Is there a difference between boost iostream mapped file and boost interprocess mapped file?
I want to create a mapped binary file into memory; however I am not sure how to create the file to be mapped into the system. I read the documentation several times开发者_运维知识库 and realize there[详细]
2022-12-24 04:12 分类:问答Instantiating class with custom allocator in shared memory
I\'m pulling my hair due to the following problem: I am following the example given in boost.interprocess documentation to instantiate a fixed-size ring buffer buffer class that I wrote in shared memo[详细]
2022-12-22 23:47 分类:问答How to pass parameters to manage_shared_memory.construct() in Boost.Interprocess
I\'ve stared at the Boost.Interprocess documentation for hours but still haven\'t been able to figure this out. In the doc, they have an example of creating a vector in shared memory like so:[详细]
2022-12-22 16:03 分类:问答Why is creating a ring buffer shared by different processes so hard (in C++), what I am doing wrong?
I am being especially dense about this but it seems I\'m missing an important, basic point or something, since what I want to do should be common:[详细]
2022-12-22 12:38 分类:问答