implement thread names in debug mode

This commit is contained in:
Lion Kortlepel committed 2021-03-30 00:30:24 +02:00
1 parent 940a39ed4e
commit 3094d382ff
9 files changed
+61 -36

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ TPPSMonitor::TPPSMonitor(TServer& Server)
Start();
}
void TPPSMonitor::operator()() {
RegisterThread("PPSMonitor");
while (!mNetwork) {
// hard spi
std::this_thread::sleep_for(std::chrono::milliseconds(1));