Hyprland/src/managers/ThreadManager.hpp

19 lines
309 B
C++
Raw Normal View History

2022-03-18 20:03:39 +01:00
#pragma once
#include "../defines.hpp"
#include <thread>
#include "../Compositor.hpp"
class CThreadManager {
public:
CThreadManager();
~CThreadManager();
private:
void handle();
std::thread* m_tMainThread;
};
inline std::unique_ptr<CThreadManager> g_pThreadManager;