[Live-devel] DelayQueue infinite loop

Kenneth Forsythe Kenneth.Forsythe at activu.com
Tue Aug 26 13:33:35 PDT 2014


Hi,

DelayQueue::synchronize appears to be stuck in that while loop. It appears curEntry->fDeltatTimeRemaning is always (0,0) and therefor timeSinceLastSync is always higher.

This only happens when I am hosting the libraries within a COM DLL. What is recommended? Can I just detect this scenario and break the loop?

This is in DelayQueue.cpp at DelayQueue::synchronize
Loop starts at line 214.


DelayQueueEntry* curEntry = head();

while (timeSinceLastSync >= curEntry->fDeltaTimeRemaining) {

timeSinceLastSync -= curEntry->fDeltaTimeRemaining;

curEntry->fDeltaTimeRemaining = DELAY_ZERO;

curEntry = curEntry->fNext;

}

Thanks,




More information about the live-devel mailing list