summaryrefslogtreecommitdiff
path: root/src/managers/ThreadManager.hpp
blob: 40ed88d61d66a7ec338f52e84ba32df134b6375c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;