mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Add shared memory example
- Add shared memory example in examples/MQ/SharedMemory - Device/Task termination: try soft first, and abort if it fails - Interactive mode: prevent cin from blocking forever (poll)
This commit is contained in:
@@ -58,5 +58,3 @@ ForEach(_file RANGE 0 ${_length})
|
||||
set(DEPENDENCIES FairMQ dds_intercom_lib)
|
||||
GENERATE_EXECUTABLE()
|
||||
EndForEach(_file RANGE 0 ${_length})
|
||||
|
||||
|
||||
|
@@ -31,7 +31,8 @@ struct DDSConfig
|
||||
/// Addresses of binding channels are published via DDS using channels names as keys
|
||||
/// Addresses of connecting channels are collected from DDS using channels names as keys
|
||||
/// \param device Reference to FairMQDevice whose channels to handle
|
||||
void HandleConfigViaDDS(FairMQDevice& device)
|
||||
template<typename TMQDevice>
|
||||
void HandleConfigViaDDS(TMQDevice& device)
|
||||
{
|
||||
// container for binding channels
|
||||
vector<FairMQChannel*> bindingChans;
|
||||
|
Reference in New Issue
Block a user