This commit is contained in:
nikitamikhaylov 2020-09-30 21:04:32 +03:00
parent 8ff072c702
commit c541df4e54

View File

@ -171,7 +171,6 @@ private:
///FIXME ///FIXME
while(hasChunksToWorkWith()) while(hasChunksToWorkWith())
{ {
std::cout << writer_unit_number << ' ' << collector_unit_number << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(100)); std::this_thread::sleep_for(std::chrono::milliseconds(100));
} }
} }
@ -207,7 +206,7 @@ private:
/// Do main work here. /// Do main work here.
out.write(unit.segment.data(), unit.actual_memory_size); out.write(unit.segment.data(), unit.actual_memory_size);
out.sync(); // out.sync();
++collector_unit_number; ++collector_unit_number;