Changeset 198 in vbox for trunk/src/VBox/Runtime/generic
- Timestamp:
- Jan 20, 2007 2:08:31 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17674
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/timer-generic.cpp
r197 r198 45 45 * This is RTTIMER_MAGIC, but changes to something else before the timer 46 46 * is destroyed to indicate clearly that thread should exit. */ 47 volatile uint32_tu32Magic;47 uint32_t volatile u32Magic; 48 48 /** Flag indicating the the timer is suspended. */ 49 49 uint8_t volatile fSuspended; … … 277 277 * Release the timer resources. 278 278 */ 279 pTimer->u32Magic++;279 ASMAtomicIncU32(&pTimer->u32Magic); /* make the handle invalid. */ 280 280 int rc = RTSemEventDestroy(pTimer->Event); AssertRC(rc); 281 281 pTimer->Event = NIL_RTSEMEVENT;
Note:
See TracChangeset
for help on using the changeset viewer.