Changeset 297 for branches/branch-1-0/src/helpers/timer.c
- Timestamp:
- Oct 9, 2005, 3:11:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1-0/src/helpers/timer.c
r264 r297 68 68 69 69 /* 70 * Copyright (C) 2000-200 1Ulrich Mller.70 * Copyright (C) 2000-2005 Ulrich Mller. 71 71 * This file is part of the "XWorkplace helpers" source package. 72 72 * This is free software; you can redistribute it and/or modify … … 162 162 { 163 163 if (!G_hmtxTimers) 164 return (!DosCreateMutexSem(NULL,165 166 167 TRUE)); // request!168 else 169 164 return !DosCreateMutexSem(NULL, 165 &G_hmtxTimers, 166 0, 167 TRUE); // request! 168 169 return !DosRequestMutexSem(G_hmtxTimers, SEM_INDEFINITE_WAIT); 170 170 } 171 171 … … 207 207 ) 208 208 { 209 return (pTimer);209 return pTimer; 210 210 } 211 211 … … 394 394 } 395 395 396 return (pSet);396 return pSet; 397 397 } 398 398 … … 468 468 VOID tmrTimerTick(PXTIMERSET pSet) // in: timer set (from tmrCreateSet) 469 469 { 470 BOOL fLocked = FALSE;470 volatile BOOL fLocked = FALSE; // XWP V1.0.4 (2005-10-09) [pr] 471 471 472 472 TRY_LOUD(excpt1) … … 733 733 } 734 734 735 return (usrc);735 return usrc; 736 736 } 737 737
Note:
See TracChangeset
for help on using the changeset viewer.