interprocess
interprocess copied to clipboard
Boost.org interprocess module
The code below in `interprocess/sync/posix/semaphore_wrapper.hpp` is broken for sandboxed Mac apps: ```c++ std::string name; #ifndef BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SEMAPHORES add_leading_slash(origname, name); #else create_shared_dir_cleaning_old_and_get_filepath(origname, name); #endif ``` For sandboxed apps, the name of the...
For Boost version: 1.86.0 The documentation [here](https://live.boost.org/doc/libs/1_85_0/doc/html/boost/interprocess/file_lock.html) states: "A file lock, is a mutual exclusion utility similar to a mutex using a file. A file lock has sharable and exclusive...
template void atomic_func(Func &f) { mp_header->atomic_func(f);} why not template void atomic_func(Func &&f) { mp_header->atomic_func(std::forward(func));}
I am interested to develop and contribute message queue predicate for filtering messages. The use case is multiple consumers only some of which would be qualified/interested in consuming certain types...
I'm using boost_1_89_0 & boost::interprocess::message_queue for inter-process communication. The receiver calls timed_receive to receive messages with a timeout set to 100 milliseconds. It works correctly most of the time, but...
I am using interprocess' semaphore in conjunction with timed_wait, and I need to be able to handle SIGINT to terminate the waiting early. Looking into the implementation, I can see...
For performance reasons we want to preallocate memory in the shared memory by calling madvise(MADV_POPULATE_WRITE). This generally has significant benefit in performance during the bootstrap phase as compared to allocate...