diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-07-06 12:56:59 +0200 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-07-06 15:36:43 +0200 |
commit | f40c4e32182d7696b234d0eda5e1de6cd6f273ae (patch) | |
tree | 4ad29e40de27ffcfe1fe05e1416eddfca601dd35 /src/common | |
parent | e46cad36d2f7858b83b8cf1382655b49b761f63a (diff) |
Tools/vmap_assembler: Multithread building vmaps
(cherry picked from commit 11a252e601522d840c5c2ceb3331495c51a2e5d3)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/Threading/ThreadPool.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; }; |