Remove almost-empty files ThreadPools.cpp/h

This commit is contained in:
Henrik Rydgård committed 2025-03-20 17:21:20 +01:00
1 parent 79945d69f4
commit cb1df4056c
13 files changed
+7 -29

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ const int MAX_CORES_TO_USE = 16;
const int MIN_IO_BLOCKING_THREADS = 4;
static constexpr size_t TASK_PRIORITY_COUNT = (size_t)TaskPriority::COUNT;
ThreadManager g_threadManager;
struct GlobalThreadContext {
std::mutex mutex;
std::deque<Task *> compute_queue[TASK_PRIORITY_COUNT];