IoUringAssmEngn: detect assembly end condition w/eventfdDesc validity

We can simplify and universalize the logic here by acknowledging that
assemblyCycleComplete() will always destroy the current eventfdDesc
object, so we can just check that to see whether we should continue
the assembly cycle.
This commit is contained in:
2025-11-15 22:02:30 -04:00
parent 8e48ce6ceb
commit b3743560bb
2 changed files with 13 additions and 14 deletions
@@ -47,7 +47,7 @@ public:
{ return nSucceeded != 0 && nTotal != 0 && nSucceeded != nTotal; }
private:
typedef std::function<void(void*, int, bool&)> resetAndAssembleFrameCbFn;
typedef std::function<void(void*, int)> resetAndAssembleFrameCbFn;
void resetAndAssembleFrame(resetAndAssembleFrameCbFn onCqeReady);
void assemblyCycleComplete();
bool stop();