Changeset 47552 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 6, 2013 10:02:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/timer-generic.cpp
r43533 r47552 257 257 { 258 258 pTimer->iTick++; 259 260 /* one shot? */ 261 if (!pTimer->u64NanoInterval) 262 ASMAtomicXchgU8(&pTimer->fSuspended, true); 259 263 pTimer->pfnTimer(pTimer, pTimer->pvUser, pTimer->iTick); 260 264 … … 262 266 if (pTimer->fSuspended || pTimer->fDestroyed) 263 267 continue; 264 265 /* one shot? */266 if (!pTimer->u64NanoInterval)267 {268 ASMAtomicXchgU8(&pTimer->fSuspended, true);269 continue;270 }271 268 272 269 /* calc the next time we should fire. */
Note:
See TracChangeset
for help on using the changeset viewer.