mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
FairMQ: Introduce configurable session name per device.
Session name is given to each device via `--session`, which must be synchronized from a higher level, e.g. from start script or command & control entity.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
58a312b730
commit
eddfd0d1bd
@@ -55,13 +55,13 @@ class FairMQTransportFactorySHM : public FairMQTransportFactory
|
||||
void StartMonitor();
|
||||
|
||||
static FairMQ::Transport fTransportType;
|
||||
std::string fSessionName;
|
||||
void* fContext;
|
||||
void* fHeartbeatSocket;
|
||||
std::thread fHeartbeatThread;
|
||||
std::atomic<bool> fSendHeartbeats;
|
||||
boost::interprocess::named_mutex fShMutex;
|
||||
fair::mq::shmem::DeviceCounter* fDeviceCounter;
|
||||
std::string fSegmentName;
|
||||
std::unique_ptr<fair::mq::shmem::Manager> fManager;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user