aboutsummaryrefslogtreecommitdiff
path: root/src/common/Threading/ThreadPool.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-07-06 12:56:59 +0200
committerShauren <shauren.trinity@gmail.com>2024-07-06 12:56:59 +0200
commit11a252e601522d840c5c2ceb3331495c51a2e5d3 (patch)
treee33c6a36874562c4ef986d54cc14ff1472eb851d /src/common/Threading/ThreadPool.h
parenta0f13391a0404d859cf4f8b8dee0c801f2640473 (diff)
Tools/vmap_assembler: Multithread building vmaps
Diffstat (limited to 'src/common/Threading/ThreadPool.h')
-rw-r--r--src/common/Threading/ThreadPool.h5
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;
};