mirror of
https://github.com/vale981/Hyprland
synced 2025-03-10 12:46:38 -04: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; |