interprocess
interprocess copied to clipboard
Boost.org interprocess module
In our scenario, there are two processes(one side 32-bit and other one 64-bit) communicate with each other over shared memory. Boost Version : 1.70.0 Compiler Version : gcc 7.4.0 Here...
Why does documentation omits method’s input variable’s names in `Synopsis` section? For example: https://www.boost.org/doc/libs/1_69_0/doc/html/boost/interprocess/mapped_region.html ``` class mapped_region { ... bool flush(std::size_t = 0, std::size_t = 0, bool = true); ......
I've set up a Boost IPC shared memory for 32/64bits communication as per comment from Boost header so `offset_ptr` along with rbtree_best_fit's MemoryAlignment `sizeof(std::uint64_t)` Boost 1.68 In x86 VS 15.8.8...
I haven't been able to get named_condition_any objects to work on Linux with Boost 1.68.0. Below is code to replicate. When using a named_condition_any the child process will never receive...
For now it just says whether it succeeded or not.
The documentation of boost::interprocess::file_lock has some cautions on synchronization limitations: * It's unspecified if a file_lock synchronizes two threads from the same process. * It's unspecified if a process can...
Hi Ion, I noticed you added the "pragma vtordisp" to fix the msvc bug. If we just include we don't get any surprises should microsoft eventually remove the pragma from...
Using a free stack of message pointers, dual mutexes, and moving the memcpy outside the lock, much higher message throughput can be achieved.
#include #include #include #include #include #include #include #include #include #include typedef int KeyType; typedef float MappedType; typedef std::pair ValueType; using namespace boost::interprocess; const char *shared_memory_name = "MySharedMemory"; // Remove shared...
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information. This PR depends on the following other...