add PPSMonitor

This commit is contained in:
Lion Kortlepel authored and Anonymous275 committed 2021-03-18 23:44:14 +02:00
1 parent 72607583bf
commit f19a012509
15 files changed
+185 -66

No files matched your search

+2 -2
View File
@@ -7,10 +7,10 @@ class IThreaded {
public:
IThreaded()
// invokes operator() on this object
: _Thread(std::thread([this] { (*this)(); })) { }
: mThread(std::thread([this] { (*this)(); })) { }
virtual void operator()() = 0;
protected:
std::thread _Thread;
std::thread mThread;
};