mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Initialize shared memory only if it is used.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
ac1da4db66
commit
8cf1cbb930
@@ -70,7 +70,7 @@ class FairMQSocketSHM : public FairMQSocket
|
||||
std::atomic<unsigned long> fMessagesRx;
|
||||
|
||||
static std::unique_ptr<FairMQContextSHM> fContext;
|
||||
// static bool fContextInitialized;
|
||||
static bool fContextInitialized;
|
||||
};
|
||||
|
||||
#endif /* FAIRMQSOCKETSHM_H_ */
|
||||
|
Reference in New Issue
Block a user