mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
turn count of consumers to 3
This commit is contained in:
parent
526f63943f
commit
4e67eebb4f
@ -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] {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user