interprocess
interprocess copied to clipboard
Boost.org interprocess module
I have two processes, synchronized using a condition variable in shared memory. If the process that calls wait crashes, the notifying process sometimes blocks in the notify call. This happens...
See: [Stack overflow question](https://stackoverflow.com/questions/76956994/boost-ipc-condition-variable-blocks-after-one-process-crashes-and-restart) I have an `interprocess` `condition variable` to sync my processes, there is one `notifier` that `notify` and two `waiters` that `timed_wait` for `notification` or `timeout`. If...
I am not able to compile this minimal example program on Visual Studio 2022 (v17.7.6) with Boost 1.83.0: ```cpp #include #include #include #include int main() { boost::interprocess::named_mutex mtx(boost::interprocess::open_only, "mtx"); boost::interprocess::named_condition...
I would like to use boost.interprocess in a way similar to the `"code"` below, but encountered a `compile error`. Upon analysis, it seems that the problem arises from the STL...
It will be nice to provide a local memory-only implementation: the same API for data stored in a bloc of local memory. It will be really useful for unit tests....
The goal of this feature is to allow to map message_queue in anonymous shared memory - to make communication of forked processes easy. There is no need to create a...
We observed this problem on `boost` 1.71, but it is also present in 1.81. ### Problem description On a system with 4-byte `int` and an `INT_MAX` of 2147483647, attempting to...
`m_is_wide` is not set in these both operators so if wideness has changed it might lead to call wrong `delete[]` later https://github.com/boostorg/interprocess/blob/a0c5a8ff176434c9024d4540ce092a2eebb8c5c3/include/boost/interprocess/detail/char_wchar_holder.hpp#L54-L61 https://github.com/boostorg/interprocess/blob/a0c5a8ff176434c9024d4540ce092a2eebb8c5c3/include/boost/interprocess/detail/char_wchar_holder.hpp#L63-L70 `if` condition should be opposite currently it...
The following code results in a floating point exception (division by zero) in construct(): ``` #include #include #include "boost/interprocess/managed_shared_memory.hpp" using namespace boost::interprocess; class ShmHdr { public: ShmHdr() : AllocCount(0) {}...