mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-09 01:06:25 +00:00
add PPSMonitor
This commit is contained in:
committed by
Anonymous275
parent
72607583bf
commit
f19a012509
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user