Fixed reading DataLayout from shared memory

This commit is contained in:
Patrick Niklaus
2018-03-26 15:01:48 +00:00
committed by Patrick Niklaus
parent 81929c984b
commit aec9b6a178
6 changed files with 28 additions and 21 deletions
+1
View File
@@ -165,6 +165,7 @@ int Storage::Run(int max_wait)
// Allocate shared memory block
auto regions_size = encoded_layout.size() + layout.GetSizeOfLayout();
util::Log() << "Data layout has a size of " << encoded_layout.size() << " bytes";
util::Log() << "Allocating shared memory of " << regions_size << " bytes";
auto data_memory = makeSharedMemory(next_region, regions_size);