Skip to content

Commit c4c3992

Browse files
Zainullin DamirZainullin Damir
authored andcommitted
++
1 parent 91a060c commit c4c3992

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

include/ipfixprobe/outputPlugin/outputStorage/ffqOutputStorage.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@ class FFQOutputStorage : public OutputStorage {
6969

7070
bool finished(const std::size_t readerGroupIndex) noexcept override
7171
{
72-
return !writersPresent() &&
73-
// m_readRanks[readerGroupIndex].get() % ALLOCATION_BUFFER_CAPACITY
74-
//== m_writeRank.load() % ALLOCATION_BUFFER_CAPACITY;
75-
m_readRanks[readerGroupIndex].get() > m_writeRank.load();
72+
return !writersPresent()
73+
&& m_readRanks[readerGroupIndex].get() % ALLOCATION_BUFFER_CAPACITY
74+
== m_writeRank.load() % ALLOCATION_BUFFER_CAPACITY;
7675
}
7776

7877
protected:

0 commit comments

Comments
 (0)