MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / stopTasks

Method stopTasks

libminifi/src/utils/ThreadPool.cpp:197–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196template<typename T>
197void ThreadPool<T>::stopTasks(const TaskId &identifier) {
198 std::unique_lock<std::mutex> lock(worker_queue_mutex_);
199 task_status_[identifier] = false;
200}
201
202template<typename T>
203void ThreadPool<T>::shutdown() {

Callers 3

stopMethod · 0.80
unscheduleMethod · 0.80
stopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected