Ignore:
Timestamp:
Oct 9, 2005, 3:11:51 PM (20 years ago)
Author:
pr
Message:

Update functions using exception handlers to force non-register variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/src/helpers/timer.c

    r264 r297  
    6868
    6969/*
    70  *      Copyright (C) 2000-2001 Ulrich M”ller.
     70 *      Copyright (C) 2000-2005 Ulrich M”ller.
    7171 *      This file is part of the "XWorkplace helpers" source package.
    7272 *      This is free software; you can redistribute it and/or modify
     
    162162{
    163163    if (!G_hmtxTimers)
    164         return (!DosCreateMutexSem(NULL,
    165                                    &G_hmtxTimers,
    166                                    0,
    167                                    TRUE));      // request!
    168     else
    169         return !DosRequestMutexSem(G_hmtxTimers, SEM_INDEFINITE_WAIT);
     164        return !DosCreateMutexSem(NULL,
     165                                  &G_hmtxTimers,
     166                                  0,
     167                                  TRUE);      // request!
     168
     169    return !DosRequestMutexSem(G_hmtxTimers, SEM_INDEFINITE_WAIT);
    170170}
    171171
     
    207207               )
    208208            {
    209                 return (pTimer);
     209                return pTimer;
    210210            }
    211211
     
    394394    }
    395395
    396     return (pSet);
     396    return pSet;
    397397}
    398398
     
    468468VOID tmrTimerTick(PXTIMERSET pSet)      // in: timer set (from tmrCreateSet)
    469469{
    470     BOOL fLocked = FALSE;
     470    volatile BOOL fLocked = FALSE; // XWP V1.0.4 (2005-10-09) [pr]
    471471
    472472    TRY_LOUD(excpt1)
     
    733733    }
    734734
    735     return (usrc);
     735    return usrc;
    736736}
    737737
Note: See TracChangeset for help on using the changeset viewer.