boost-interprocess
boost::interprocess::basic_string as std::string
I am trying to replace a class method which returns const std::string & with const boost::interprocess::basic_string &. The main challenge I am facing is the incompatibility between the two cl[详细]
2023-04-05 15:10 分类:问答boost::unordered_map using boost::interprocess::cached_node_allocator compilation failure
I am trying to create a boost::unordered_map in a boost::interprocess::managed_shared_memory segment. This works fine until I try to change from using boost::interprocess::allocator to boost::interpro[详细]
2023-04-05 11:31 分类:问答Boost iostream: how to turn ifstream into memory mapped file?
What I want is simple to open file for reading as memory mapped file - in order to access it with much more speed in future (example: we open file read it to end, wait and read it again and again) Mea[详细]
2023-03-30 05:24 分类:问答How to pin a shared memory segment into physical memory
I use boost::interprocess::managed_shared_mem开发者_开发技巧ory to load a data structure in shared memory. I need to pin the shared memory segment into physical memory (for example similar to system c[详细]
2023-03-27 10:47 分类:问答boost::interprocess::shared_memory_object::remove fails
I made some test and I was able to create and remove boost::interprocess::shared_memory_object in a C++/CLI executable without problems. In a C++/CLI dll plugin I\'m only able to create the boost::int[详细]
2023-03-11 01:27 分类:问答Looking for simple example of Boost message_queue and serialization usage
Anyone can share small working example of using together boost message_queue and seri开发者_开发百科alization? I want use classes to exchange data between processes but stuck in my research. You shoul[详细]
2023-02-28 23:47 分类:问答Is boost::interprocess::shared_ptr threadsafe (and interprocess-safe)?
I want to share data between threads, and have it automatically deleted when the last user is done with it. This seems to work, most of the time, using boost::interprocess::shared_ptr in a boost::fixe[详细]
2023-02-18 17:31 分类:问答Thread notification when boost::interprocess::mapped_region is changed
How can I be n开发者_如何学运维otified when the bytes in boost::interprocess::mapped_region is changed by using interprocess_condition.[详细]
2023-02-13 11:24 分类:问答Accessing vector element of shared object using boost interprocess
I\'m trying to understand how boost interprocess library works. I have an Equipment class which holds integer values in a vector container.[详细]
2023-01-22 01:20 分类:问答How can I achieve something similar to a semaphore using boost in c++? [duplicate]
This question already has answers here: 开发者_StackOverflow社区 C++0x has no semaphores? How to synchronize threads?[详细]
2023-01-19 18:21 分类:问答