mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
fix(shm): Fix incorrect parameters when mapping regions
This commit is contained in:
parent
83ddbcef4c
commit
75e68e3e4d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user