mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
adjust param
This commit is contained in:
parent
27eb5ee99b
commit
45e4429056
@ -177,7 +177,7 @@ struct prod_cons<relat::single, relat::multi, trans::broadcast> {
|
||||
expected, static_cast<rc_t>(conn_cnt), std::memory_order_relaxed)) {
|
||||
break;
|
||||
}
|
||||
ipc::sleep(k);
|
||||
ipc::sleep<8192>(k);
|
||||
conn_cnt = elems->conn_count(); // acquire
|
||||
if (conn_cnt == 0) return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user