aboutsummaryrefslogtreecommitdiff
path: root/src/checkqueue.h
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-09-02 15:07:31 +0200
committerMacroFake <falke.marco@gmail.com>2022-10-18 14:12:42 +0200
commitfa9ebec096ae185576a54aa80bd2a9e57f867ed4 (patch)
treed46e268100fc164a86292cf1e23409a99ea2385c /src/checkqueue.h
parentfa7c834b9f988fa7f2ace2d67b1628211b7819df (diff)
Remove g_parallel_script_checks
Diffstat (limited to 'src/checkqueue.h')
-rw-r--r--src/checkqueue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/checkqueue.h b/src/checkqueue.h
index bead6f0c6f..c4a64444e9 100644
--- a/src/checkqueue.h
+++ b/src/checkqueue.h
@@ -199,11 +199,12 @@ public:
WITH_LOCK(m_mutex, m_request_stop = false);
}
+ bool HasThreads() const { return !m_worker_threads.empty(); }
+
~CCheckQueue()
{
assert(m_worker_threads.empty());
}
-
};
/**