interprocess
interprocess copied to clipboard
Boost.org interprocess module
Instead of https://github.com/boostorg/interprocess/blob/a0c5a8ff176434c9024d4540ce092a2eebb8c5c3/include/boost/interprocess/detail/atomic.hpp#L174 we should have ```c "xadd { %1, %0 | %0, %1 }": ```
Hi, there are several Stack Overflow questions regarding performance issues when creating large arrays of basic types. For example, in this question (https://stackoverflow.com/questions/74609901/how-create-a-big-array-in-shared-memory-with-boostinterprocessmanaged-shard), the poster also experienced this problem. After...
After defining BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION, when there are more than 5 synchronization objects, managed_windows_shared_memory will crash on destruction. ### code ``` #include #ifndef BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION #define BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION #endif #include #include #include #include #include...
File sizes larger than INT_MAX cause segmentation faults, due to the use of `pbump/gbump`, which only support `int` increments. Rewrite `int`-based offset adjustments to use streamoff offsets instead. Fixes #190.
Hi, I don't have an isolated repro case at the moment but wanted to share my findings. I have a cross-platform application that worked well with boost 1.66 on Linux...
In boost/interprocess/sync/posix/mutex.hpp, line 105ff the error handling depends on return value of `pthread_mutex_lock(&m_mut)`. But regardless of whether the define BOOST_INTERPROCESS_POSIX_ROBUST_MUTEXES is set the `lock_exception()` throws the same reason for every...
It can be very hard to figure out why shared memory cannot be created on macos when getting errno=1 ("Operation not permitted") as the only information. It turns out that...
tried on macOS
If a second process is started that also uses boost interprocess, the existing files in the boost_interprocess folder are renamed and destroyed. Examples of new file names are: C06C55F6FFB1D8018806033B09B2D801B0530000F7FFFFFF C06C55F6FFB1D8018806033B09B2D801B0530000F8FFFFFF
the `file_lock` ctor throws if the file does not exist. it would be nice to be able to have a signature that creates the file automatically if it doesn't exist....