mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 13:26:00 +01:00
19 lines
No EOL
309 B
C++
19 lines
No EOL
309 B
C++
#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; |