Remove almost-empty files ThreadPools.cpp/h

This commit is contained in:
Henrik Rydgård
2025-03-20 17:21:20 +01:00
parent 79945d69f4
commit cb1df4056c
13 changed files with 7 additions and 29 deletions
+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];