MCPcopy Create free account
hub / github.com/a9876543245/DEEPFOLD-SOLVER / PostsolveThreadPool

Method PostsolveThreadPool

core/include/solver.h:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71class PostsolveThreadPool {
72public:
73 explicit PostsolveThreadPool(uint32_t thread_count) {
74 thread_count = std::max<uint32_t>(1, thread_count);
75 workers_.reserve(thread_count);
76 for (uint32_t i = 0; i < thread_count; ++i) {
77 workers_.emplace_back([this]() { worker_loop(); });
78 }
79 }
80
81 ~PostsolveThreadPool() {
82 {

Callers

nothing calls this directly

Calls 1

reserveMethod · 0.45

Tested by

no test coverage detected