Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMined/TenSEAL
/ ~ThreadPool
Method
~ThreadPool
tenseal/cpp/utils/threadpool.h:50–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
~ThreadPool() noexcept {
51
for (auto& queue : m_queues) queue.done();
52
for (auto& worker : m_workers) worker.join();
53
}
54
55
/**
56
* enqueue_task() assigns tasks to worker queues using round robin
Callers
nothing calls this directly
Calls
1
done
Method · 0.80
Tested by
no test coverage detected