mirror of
https://github.com/vale981/Hyprland
synced 2025-03-10 20:56:39 -04:00
19 lines
309 B
C++
19 lines
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;
|