15 static std::shared_ptr<FIFOWaitBlocker>
getInstance(
const std::string& instanceName) {
16 std::lock_guard<std::mutex> lock(instanceMutex);
17 static std::map<std::string, std::shared_ptr<FIFOWaitBlocker>> instanceMap;
18 if (!instanceMap.contains(instanceName)) {
19 instanceMap[instanceName] = std::shared_ptr<FIFOWaitBlocker>(
new FIFOWaitBlocker());
22 return instanceMap[instanceName];