turn count of consumers to 3

This commit is contained in:
mutouyun 2018-11-22 14:11:00 +08:00
parent 526f63943f
commit 4e67eebb4f

View File

@ -37,7 +37,7 @@ void Unit::test_inst(void) {
void Unit::test_producer(void) {
::new (cq__) cq_t;
std::thread consumers[1];
std::thread consumers[3];
for (auto& c : consumers) {
c = std::thread{[&c] {