Ignore:
Timestamp:
Jan 3, 2001, 10:05:57 PM (25 years ago)
Author:
umoeller
Message:

Reworked tooltip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/timer.c

    r17 r19  
    3636 *
    3737 *      --  When a window is deleted, its timers are not
    38  *          automatically cleaned up. To be on the safe
    39  *          side, always call tmrStopAllTimers when
    40  *          WM_DESTROY comes into a window which has used
    41  *          timers.
     38 *          automatically cleaned up. The timer thread does
     39 *          detect invalid windows and removes them from the
     40 *          timers list before posting, but to be on the safe
     41 *          side, always call tmrStopAllTimers when WM_DESTROY
     42 *          comes into a window which has used timers.
    4243 *
    4344 *      Function prefixes:
     
    204205    while (!ptiMyself->fExit)
    205206    {
    206         ULONG ulNesting = 0;
     207        // ULONG ulNesting = 0;
    207208
    208209        ULONG ulTimeNow;
     
    216217        ulInterval = 100;
    217218
    218         DosEnterMustComplete(&ulNesting);
     219        // DosEnterMustComplete(&ulNesting);
    219220
    220221        TRY_LOUD(excpt1)
     
    240241                                    &ulTimeNow, sizeof(ulTimeNow));
    241242
    242                     while (pTimerNode)
     243                    while ((pTimerNode) && (!ptiMyself->fExit))
    243244                    {
    244245                        PXTIMER pTimer = (PXTIMER)pTimerNode->pItemData;
     
    279280
    280281                    // destroy invalid timers, if any
    281                     if (fFoundInvalid)
     282                    if ((fFoundInvalid) && (!ptiMyself->fExit))
    282283                    {
    283284                        PLISTNODE pNodeNode = lstQueryFirstNode(&llInvalidTimers);
     
    302303        }
    303304
    304         DosExitMustComplete(&ulNesting);
     305        // DosExitMustComplete(&ulNesting);
    305306
    306307    } // end while (!ptiMyself->fExit)
Note: See TracChangeset for help on using the changeset viewer.