chore(fortuna): make sync_point latch private
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
47e893b674
commit
06deab6ef1
@ -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
|
||||
|
Reference in New Issue
Block a user