| 4 | namespace Engine |
| 5 | { |
| 6 | JobManager::JobManager(Engine::BaseEngine* engine, bool enableMultiThreading) |
| 7 | : m_EnableMultiThreading(enableMultiThreading) |
| 8 | , m_ThreadId(std::this_thread::get_id()) |
| 9 | , m_pEngine(engine) |
| 10 | { |
| 11 | } |
| 12 | bool JobManager::isSameThread() |
| 13 | { |
| 14 | return std::this_thread::get_id() == m_ThreadId; |
nothing calls this directly
no outgoing calls
no test coverage detected