diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 20:03:39 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 20:03:39 +0100 |
| commit | a9773bd91a2c01982cc9b9807233c95303feada1 (patch) | |
| tree | 3d5936042a0e7330ee9bda9f49601f09beb86b17 /src/ManagerThread.cpp | |
| parent | 854c827911b898d38fd54cdfab6bbd57296d3842 (diff) | |
XWayland and moved managers
Diffstat (limited to 'src/ManagerThread.cpp')
| -rw-r--r-- | src/ManagerThread.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/ManagerThread.cpp b/src/ManagerThread.cpp deleted file mode 100644 index 15c41354..00000000 --- a/src/ManagerThread.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "ManagerThread.hpp" - -CManagerThread::CManagerThread() { - m_tMainThread = new std::thread([&]() { - // Call the handle method. - this->handle(); - }); - - m_tMainThread->detach(); // detach and continue. -} - -CManagerThread::~CManagerThread() { - // -} - -void CManagerThread::handle() { - - g_pConfigManager->init(); - - while (3.1415f) { - g_pConfigManager->tick(); - - std::this_thread::sleep_for(std::chrono::microseconds(1000000 / g_pConfigManager->getInt("max_fps"))); - } -}
\ No newline at end of file |
