18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 06:35:21 +01:00
Files
jerrrrycho 4569bff42c refactor: SonarQube findings of the worker pool and the settings pointer
The memory orders of the worker pool and of the settings pointer stay as
they are; each line says why its order is enough. The settings pointer
is set once, so it can't be const. The pool threads are std::jthread,
which the destructor of the pool joins as before. wake() and next_job()
are const, the test lambdas capture what they use, and the length of a
vehicle found near another one comes from a helper, which keeps
update_neighbours() under the cognitive complexity limit.
2026-12-02 14:12:03 +01:00
..