util-threadpool: Add missing includes

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-04-01 14:32:25 +02:00
parent 30aaea8449
commit 89b99402c0
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@
*/ */
#include "util-threadpool.hpp" #include "util-threadpool.hpp"
#include <cstddef>
// Most Tasks likely wait for IO, so we can use that time for other tasks. // Most Tasks likely wait for IO, so we can use that time for other tasks.
#define CONCURRENCY_MULTIPLIER 2 #define CONCURRENCY_MULTIPLIER 2

View file

@ -19,8 +19,10 @@
#pragma once #pragma once
#include <atomic> #include <atomic>
#include <condition_variable>
#include <functional> #include <functional>
#include <list> #include <list>
#include <memory>
#include <mutex> #include <mutex>
#include <thread> #include <thread>