Ignore:
Timestamp:
Feb 19, 2008, 11:33:41 PM (17 years ago)
Author:
dmik
Message:

kernel: Don't touch zero timers on the timer thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel/qeventloop_pm.cpp

    r176 r177  
    582582        QIntDictIterator<TimerInfo> it( *timerDict );
    583583        for ( register TimerInfo *t; (t = it.current()); ++it ) {
     584            // skip zero timers
     585            if ( t->interval == 0 )
     586                continue;
    584587            ULONG spent = now - t->last;
    585588            if ( spent >= t->interval ) {
Note: See TracChangeset for help on using the changeset viewer.