interprocess
interprocess copied to clipboard
Boost.org interprocess module
``` struct alignas( 64 ) type_t { int arr[1000]; }; namespace bip = boost::interprocess; typedef bip::basic_managed_mapped_file< char, bip::rbtree_best_fit, bip::iset_index> managed_mapped_file_aligned; inline void allocate() { managed_mapped_file_aligned mmf( bip::open_only, "/mnt/hugepage/test_boost_shm" ); type_t*...
As requested by @igaztanaga on https://cpplang.slack.com/archives/C27KZLB0X/p1710326590253599 I'm opening an issue here. I'm creating a shared memory: ``` TEST(SharedMemoryManagerTest, PlainTest) { struct TestData { std::chrono::time_point c1{}; std::chrono::time_point c2{}; uint32_t data; };...
In my project, I use `message_queue::timed_receive` to handle inter process messaging. But in issue scenario, my system clock falled back to 2mins, then `timed_receive` waited for more than 1s already...
We're currently using `message_queue` on Windows, but want to avoid files being created on the user's filesystem (even in the application's config/cache directory). Moreover, we'd like to have the semantics...
Hi! When using a named_mutex within POSIX, and setting the Permissions Object, everything boils down to an ::sem_open call. There, the permissions are passed. But ::sem_open masks the permissions with...
Version 1.84. Insertion at boost\interprocess\sync\windows\sync_utils.hpp line 188 ` umap_type::iterator it = umap_.insert(v).first; ` invalidates iterators in map_ if rehashing of umap_ occurred. Later, due to this, program crashed in destroy_syncs_in_range...
Hello, Mr. Author. On the Linux platform, my software keeps creating and destroying processes. Sometimes, when we create a process again, the program gets stuck in the while loop of...
I am trying to construct a bip::vector of POD using boost interprocess managed shared memory. The following code compiles and run in release mode, but crashes in debug mode. ```...
fixes https://github.com/boostorg/lockfree/actions/runs/7236168354/job/19714404066