adjust count of consumers

This commit is contained in:
mutouyun 2018-11-23 22:10:50 +08:00
parent ff0dbc8e2e
commit 7e24273a64

View File

@ -47,7 +47,7 @@ void Unit::test_inst(void) {
void Unit::test_prod_cons_1vN(void) {
::new (cq__) cq_t;
std::thread consumers[1];
std::thread consumers[3];
std::atomic_int fini { 0 };
capo::stopwatch<> sw;
constexpr static int loops = 10000000;