| 45 | size_t const c_maxUnknownSize = 512 * 1024 * 1024; // Block size can be ~50kb |
| 46 | |
| 47 | BlockQueue::BlockQueue() |
| 48 | { |
| 49 | // Allow some room for other activity |
| 50 | unsigned verifierThreads = std::max(thread::hardware_concurrency(), 3U) - 2U; |
| 51 | for (unsigned i = 0; i < verifierThreads; ++i) |
| 52 | m_verifiers.emplace_back([=](){ |
| 53 | setThreadName("verifier" + toString(i)); |
| 54 | this->verifierBody(); |
| 55 | }); |
| 56 | } |
| 57 | |
| 58 | BlockQueue::~BlockQueue() |
| 59 | { |
nothing calls this directly
no test coverage detected