We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CCheckQueue
1 parent 8111e74 commit 6e17b31Copy full SHA for 6e17b31
src/checkqueue.h
@@ -139,6 +139,13 @@ class CCheckQueue
139
}
140
141
142
+ // Since this class manages its own resources, which is a thread
143
+ // pool `m_worker_threads`, copy and move operations are not appropriate.
144
+ CCheckQueue(const CCheckQueue&) = delete;
145
+ CCheckQueue& operator=(const CCheckQueue&) = delete;
146
+ CCheckQueue(CCheckQueue&&) = delete;
147
+ CCheckQueue& operator=(CCheckQueue&&) = delete;
148
+
149
//! Wait until execution finishes, and return whether all evaluations were successful.
150
bool Wait() EXCLUSIVE_LOCKS_REQUIRED(!m_mutex)
151
{
0 commit comments