mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
Shmem: Send acks also for local regions
This commit is contained in:
parent
5a49c5b9b1
commit
4218c185a4
|
@ -183,7 +183,6 @@ Region* Manager::GetRegionUnsafe(const uint64_t id)
|
||||||
// LOG(debug) << "Located remote region with id '" << id << "', path: '" << path << "', flags: '" << flags << "'";
|
// LOG(debug) << "Located remote region with id '" << id << "', path: '" << path << "', flags: '" << flags << "'";
|
||||||
|
|
||||||
auto r = fRegions.emplace(id, tools::make_unique<Region>(*this, id, 0, true, nullptr, path, flags));
|
auto r = fRegions.emplace(id, tools::make_unique<Region>(*this, id, 0, true, nullptr, path, flags));
|
||||||
r.first->second->StartSendingAcks();
|
|
||||||
return r.first->second.get();
|
return r.first->second.get();
|
||||||
} catch (bie& e) {
|
} catch (bie& e) {
|
||||||
LOG(warn) << "Could not get remote region for id: " << id;
|
LOG(warn) << "Could not get remote region for id: " << id;
|
||||||
|
|
|
@ -81,6 +81,7 @@ Region::Region(Manager& manager, uint64_t id, uint64_t size, bool remote, Region
|
||||||
}
|
}
|
||||||
|
|
||||||
InitializeQueues();
|
InitializeQueues();
|
||||||
|
StartSendingAcks();
|
||||||
LOG(debug) << "shmem: initialized region: " << fName;
|
LOG(debug) << "shmem: initialized region: " << fName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user