mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
adjust comment
This commit is contained in:
parent
eefea828f0
commit
da25b7fc81
@ -99,7 +99,7 @@ public:
|
||||
|
||||
void* acquire(void) {
|
||||
elem_t* el = elem(wt_.load(std::memory_order_acquire));
|
||||
// check read finished by all consumers
|
||||
// check all consumers have finished reading
|
||||
while(1) {
|
||||
std::size_t expected = 0;
|
||||
if (el->head_.rc_.compare_exchange_weak(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user