17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-04 22:25:45 +01:00

fix(physics): the external program messages (multiplayer) no longer keep the physics steps in one thread, only network sessions do; the debug panel tells what keeps them in one

This commit is contained in:
2026-10-23 20:12:02 +02:00
parent 60667588b5
commit 9f7217256b
3 changed files with 13 additions and 4 deletions

View File

@@ -204,6 +204,8 @@ struct subsystem_stopwatches {
// the steps of the physics: threads, the groups of vehicles they were split in, the largest one, the groups done in the main
// thread (vehicle_table::update_steps_parallel())
unsigned int threads { 1 };
unsigned int pool { 1 }; // threads of worker_pool
std::string singlethread; // what keeps the steps in one thread, if anything
unsigned int groups { 0 };
unsigned int largestgroup { 0 };
unsigned int maingroups { 0 };