We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f5e5f9 commit 00cc331Copy full SHA for 00cc331
1 file changed
include/ipfixprobe/outputPlugin/outputStorage/allocationBufferS.hpp
@@ -89,6 +89,9 @@ class AllocationBufferS : public AllocationBufferBase<ElementType> {
89
uint8_t stealVictimIndex = writerIndex;
90
while (writerData.storage.empty()) {
91
stealVictimIndex = (stealVictimIndex + 1) % m_writersData.size();
92
+ if (stealVictimIndex == writerIndex) {
93
+ continue;
94
+ }
95
if (!setStealRequest(stealVictimIndex)) {
96
continue;
97
}
0 commit comments