mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 09:16:46 +08:00
compiling error
This commit is contained in:
parent
492d095332
commit
a4079ab7af
@ -105,7 +105,7 @@ public:
|
||||
// check all consumers have finished reading
|
||||
while(1) {
|
||||
uint_t<32> expected = 0,
|
||||
conn_cnt = cc_.load(std::memory_order_acquire);
|
||||
conn_cnt = static_cast<uint_t<32>>(conn_count()); // acquire
|
||||
if (el->head_.rc_.compare_exchange_weak(
|
||||
expected, conn_cnt, std::memory_order_relaxed)) {
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user