diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-07-06 12:56:59 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-07-06 12:56:59 +0200 |
commit | 11a252e601522d840c5c2ceb3331495c51a2e5d3 (patch) | |
tree | e33c6a36874562c4ef986d54cc14ff1472eb851d /src/common/Threading/ThreadPool.h | |
parent | a0f13391a0404d859cf4f8b8dee0c801f2640473 (diff) |
Tools/vmap_assembler: Multithread building vmaps
Diffstat (limited to 'src/common/Threading/ThreadPool.h')
-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; }; |