hmbdc
simplify-high-performance-messaging-programming
|
Context template parameter indicating the Context is ipc enabled and it can be attached (see ipc_attacher below) to an ipc transport (thru its name). More...
#include <Context.hpp>
Context template parameter indicating the Context is ipc enabled and it can be attached (see ipc_attacher below) to an ipc transport (thru its name).
In addition to the normal Context functions, the Context acts as the creator (owner) of the named ipc transport. Since it performs a critical function to purge crushed or stuck Clients to avoid buffer full for other well-behaving Clients, it is expected to be running (started) as long as ipc functions. ipc transport uses persistent shared memory and if the dtor of Context is not called due to crashing, there will be stale shared memory in /dev/shm. Example in ipc-market-data-propagate.cpp