mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 10:01:47 +00:00
fix(shm): Fix incorrect parameters when mapping regions
This commit is contained in:
committed by
Dennis Klein
parent
3aae5bae58
commit
d105960444
@@ -540,7 +540,7 @@ class Manager
|
|||||||
if (info.event == RegionEvent::created) {
|
if (info.event == RegionEvent::created) {
|
||||||
RegionConfig cfg;
|
RegionConfig cfg;
|
||||||
cfg.id = info.id;
|
cfg.id = info.id;
|
||||||
cfg.creationFlags = info.id;
|
cfg.creationFlags = regionInfo.fCreationFlags;
|
||||||
cfg.path = regionInfo.fPath.c_str();
|
cfg.path = regionInfo.fPath.c_str();
|
||||||
regionCfgs.emplace(info.id, cfg);
|
regionCfgs.emplace(info.id, cfg);
|
||||||
// fill the ptr+size info after shmLock is released, to avoid constructing local region under it
|
// fill the ptr+size info after shmLock is released, to avoid constructing local region under it
|
||||||
|
Reference in New Issue
Block a user