interprocess
interprocess copied to clipboard
Boost.org interprocess module
As documented, [`shm_open`](https://pubs.opengroup.org/onlinepubs/007904875/functions/shm_open.html) may return `EINTR` if interrupted by a signal. This error code is not specially handled in `shared_memory_object::priv_open_or_create` and will result in an exception being thrown. It would...
My use case is as follows. I need to synchronize multiple processes or threads initializing a shared memory region. No select process can be considered the "master", so it is...
Two issues... interprocess\detail\win32_api.hpp(1491): error C2143: syntax error: missing ')' before 'module' which is inline bool free_library(hmodule module) { return 0 != FreeLibrary(module); } if I rename "module" in the complete...
Wanted to let you guys know if you like my code in this file: https://github.com/time-killer-games/xProcess/blob/main/crossprocess.cpp ...you are free to use it in this library and relicense under boost (only granting...
Crash in bellow function where windows_intermodule_singleton::get() return null which cause invalid access. ` // boost\interprocess\detail\shared_dir_helpers.hpp: 54 inline void get_bootstamp(std::string &s, bool add = false) { const windows_bootstamp &bootstamp = windows_intermodule_singleton::get();...
Hello, I have problem with Boost Interprocess. I create C DLL Library which I Marshall from C to C#. I described problem in [StackOwerflow](https://stackoverflow.com/questions/49383042/boost-interprocess-v1-66-get-bootstamp-segfault-with-c-sharp) Is this behaviour bug or my...
Hi Ion, a few years back we ran into the same problem like many other boost.interprocess users. Posix shared memory / file-backed shared memory semantics make it hard to recover...
Bootup time is needed in boost::interprocess for creating a unique shared directory which remains identical for all processes started since last reboots, but different between reboots. Currently people have choice...
[Boost.Container allocators support extra interfaces than the standard allocator requirements](https://www.boost.org/doc/libs/1_73_0/doc/html/container/extended_allocators.html). Some of these functions are useful even to C libraries that used to enjoy `realloc()` like features. So this extra...
void yield() { //Lazy initialization of limits if( !m_k){ this->init_limits(); } //Nop tries if( m_k < (nop_pause_limit >> 2) ){ } //Pause tries if the processor supports it #if defined(BOOST_INTERPROCESS_SMT_PAUSE)...