From f40c4e32182d7696b234d0eda5e1de6cd6f273ae Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 6 Jul 2024 12:56:59 +0200 Subject: Tools/vmap_assembler: Multithread building vmaps (cherry picked from commit 11a252e601522d840c5c2ceb3331495c51a2e5d3) --- src/common/Threading/ThreadPool.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common') diff --git a/src/common/Threading/ThreadPool.h b/src/common/Threading/ThreadPool.h index 1606bf98d1e..c99bdf1af4d 100644 --- a/src/common/Threading/ThreadPool.h +++ b/src/common/Threading/ThreadPool.h @@ -40,6 +40,11 @@ public: _impl.join(); } + void Stop() + { + _impl.stop(); + } + private: boost::asio::thread_pool _impl; }; -- cgit v1.2.3