From 683c66d81898e1d7d4cb814a5740169529c3313e Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 19 Sep 2022 18:26:36 -0400 Subject: Scanning can now be cancelled. Fix terminate() of thread pool blocking if wait() is already called. --- xsig/include/signature_db.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'xsig/include') diff --git a/xsig/include/signature_db.hpp b/xsig/include/signature_db.hpp index 107aa90..a74e90b 100644 --- a/xsig/include/signature_db.hpp +++ b/xsig/include/signature_db.hpp @@ -85,6 +85,7 @@ public: bool from_db_file(const fs::path &path); void populate(const std::vector &paths, const populate_cfg_t &cfg); + void populate_interrupt(); //disjoint set for keeping similar images in the same group //some of these probably shouldn't be public. TBD... -- cgit v1.2.3