quartz: Fix handling of periodic advice timers.
This commit is contained in:
parent
8ddab2c2f4
commit
b513e07c55
|
@ -127,6 +127,7 @@ static DWORD WINAPI SystemClockAdviseThread(LPVOID lpParam) {
|
||||||
it = nextit;
|
it = nextit;
|
||||||
}
|
}
|
||||||
if (NULL != it) timeOut = (DWORD) ((it->rtBaseTime + it->rtIntervalTime) - curTime) / (REFERENCE_TIME)10000;
|
if (NULL != it) timeOut = (DWORD) ((it->rtBaseTime + it->rtIntervalTime) - curTime) / (REFERENCE_TIME)10000;
|
||||||
|
else timeOut = INFINITE;
|
||||||
|
|
||||||
/** Now Periodics Advice: semi sorted list (sort cannot be used) */
|
/** Now Periodics Advice: semi sorted list (sort cannot be used) */
|
||||||
for (it = This->pPeriodicAdvise; NULL != it; it = it->next) {
|
for (it = This->pPeriodicAdvise; NULL != it; it = it->next) {
|
||||||
|
|
Loading…
Reference in New Issue