summaryrefslogtreecommitdiff
path: root/src/buildtool/multithreading/async_map.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-11-11 13:26:37 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-11-14 14:23:05 +0100
commit93842172d1b7ba6c5930f45208e2fab75bfef19b (patch)
tree7d079e7b98e5b1ada4faf3a5a0259b5954798779 /src/buildtool/multithreading/async_map.hpp
parente392e395fa0971f372698e43dbe388a92bb1948b (diff)
downloadjustbuild-93842172d1b7ba6c5930f45208e2fab75bfef19b.tar.gz
multithreading: Implement IWYU suggestions
Diffstat (limited to 'src/buildtool/multithreading/async_map.hpp')
-rw-r--r--src/buildtool/multithreading/async_map.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildtool/multithreading/async_map.hpp b/src/buildtool/multithreading/async_map.hpp
index e9bdd603..a3cdb58b 100644
--- a/src/buildtool/multithreading/async_map.hpp
+++ b/src/buildtool/multithreading/async_map.hpp
@@ -15,18 +15,20 @@
#ifndef INCLUDED_SRC_BUILDTOOL_MULTITHREADING_ASYNC_MAP_HPP
#define INCLUDED_SRC_BUILDTOOL_MULTITHREADING_ASYNC_MAP_HPP
+#include <algorithm>
#include <cstddef>
+#include <functional>
#include <memory>
#include <mutex> // unique_lock
#include <shared_mutex>
#include <thread>
+#include <tuple>
#include <unordered_map>
#include <utility> // std::make_pair to use std::unordered_map's emplace()
#include <vector>
#include "gsl/gsl"
#include "src/buildtool/multithreading/async_map_node.hpp"
-#include "src/buildtool/multithreading/task.hpp"
#include "src/buildtool/multithreading/task_system.hpp"
// Wrapper around map data structure for KeyT->AsyncMapNode<ValueT> that only