interprocess icon indicating copy to clipboard operation
interprocess copied to clipboard

Boost.org interprocess module

Results 87 interprocess issues
Sort by recently updated
recently updated
newest added

Example code could be found as below or on [godbolt](https://godbolt.org/z/rzonsWv9M). The example compiles fine with VS/gcc + boost 1.87.0 or clang + boost 1.86.0. It fails with clang + boost...

```cpp #include #include #include using namespace boost::interprocess; #define HEADSPACE (1

We've always known that accessing objects in shared memory were technically UB, but we did it anyway. The standard has tried to close that hole, and now defines how objects...

Minimal reproducible example here: https://gcc.godbolt.org/z/KGefcocv6 ```cpp #include #include #include #include typedef boost::interprocess::managed_heap_memory::segment_manager segment_manager_t; typedef boost::interprocess::map< uint32_t, uint32_t, std::less, boost::interprocess::private_adaptive_pool< std::pair, segment_manager_t>> mymap_t; int main() { boost::interprocess::managed_heap_memory heap_mem(1u

Similar to commit `4e2c06b24211e4983dad95d4b1035d1e0602490d`. `m_mode` is not initialized in `file_wrapper`'s move constructor. UBSan error was triggered on this line in `interprocess/include/boost/interprocess/detail/managed_open_or_create_impl.hpp`: ```cpp if(StoreDevice){ this->DevHolder::get_device() = boost::move(dev); } ``` My previously...

The [CRAN][cran] repository (of packages for the R language) found that after the Boost 1.87.0 update, previously working now errors. (I maintain [BH][bh], a package of a large-ish subset of...

Compiling Boost.Log with inter-process utilities (using Boost.Interprocess internally) on Cygwin fails, see [here](https://ci.appveyor.com/project/Lastique/log/builds/51171794/job/8car0jn3c9nsdaky#L746) and [here](https://github.com/boostorg/log/actions/runs/12362151114/job/34500869172#step:4:325): ``` In file included from ./boost/interprocess/errors.hpp:40:0, from ./boost/interprocess/exceptions.hpp:24, from libs/log/src/posix/ipc_reliable_message_queue.cpp:51: ./boost/interprocess/detail/win32_api.hpp: In function 'int boost::interprocess::winapi::release_semaphore(void*,...

`#include #include #include int main(){ boost::interprocess::permissions permissions; printf("***************************** 1\n"); int status = permissions.get_permissions(); printf("***************************** 2 [0x%x]\n",status); // permissions.set_permissions(status); // permissions.set_default(); permissions.set_unrestricted(); printf("***************************** 3.3\n"); boost::interprocess::message_queue mq(boost::interprocess::open_or_create,"my_queue2",100,200); // mq.close(); printf("***************************** 4\n"); mq.remove("my_queue");...

Hello: thanks for this awesome library. I just wonder, is there any interprocess latch or barrier to sync several processes? I found some [old document](https://www.boost.org/doc/libs/1_38_0/boost/interprocess/sync/interprocess_barrier.hpp) but they are not in...

Hi, I am checking the feasibility of implementing a simple IPC using boost::interprocess. I have a problem with the interprocess_condition. Brief explanation of my prototype, 1. I have 2 processes,...