chore(fortuna): make sync_point latch private
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-01-23 20:00:30 +01:00
parent 47e893b674
commit 06deab6ef1
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -26,7 +26,6 @@ public:
std::mutex print_mtx;
std::thread th_sfm;
std::thread th_urandom;
std::latch sync_point{1}; // wait for init before spawning the threads
Fortuna();
~Fortuna() noexcept;
@ -114,6 +113,8 @@ public:
std::shared_ptr<accumulator::Accumulator> _p_accumulator{
std::make_shared<accumulator::Accumulator>()};
std::latch sync_point{1}; // wait for init before spawning the threads
}; // class Fortuna
} // namespace fortuna