void Relater_Asyncify::ModifyRegistrations( const AddedQuery* iAdded, size_t iAddedCount, const int64* iRemoved, size_t iRemovedCount) { ZAcqMtxR acq(fMtxR); while (iAddedCount--) { if (ZLOGPF(s, eDebug + 1)) s << "Add: " << iAdded->GetRefcon(); sInsertMust(fPendingAdds, iAdded->GetRefcon(), iAdded->GetRel()); ++iAdded; } while (iRemovedCount--) { const int64 theRefcon = *iRemoved++; if (ZLOGPF(s, eDebug + 1)) s << "Remove: " << theRefcon; if (not sQErase(fPendingAdds, theRefcon)) sInsertMust(fPendingRemoves, theRefcon); if (sQErase(fPendingResults, theRefcon)) { // Not sure if this is actually an issue. ZLOGTRACE(eDebug); } } this->pTrigger_Update(); }
void Visitor_DoMakeWalker::Visit(const ZRef<ZVisitee>& iRep) { if (ZLOGPF(w, eDebug)) w << "Unimplemented for visitee: " << typeid(*iRep.Get()).name(); ZUnimplemented(); }