Changeset 47642 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Aug 9, 2013 1:27:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTR0Timer.cpp
r47555 r47642 401 401 { 402 402 RT_ZERO(State); ASMAtomicWriteU32(&State.cShots, State.cShots); 403 RTR0TESTR0_CHECK_RC_BREAK(RTTimerStart(pTimer, 0), VINF_SUCCESS); 403 int rc = RTTimerStart(pTimer, 0); 404 if (rc == VERR_NOT_SUPPORTED) 405 { 406 RTR0TestR0Info("one-shot timer are not supported, skipping\n"); 407 break; 408 } 409 410 RTR0TESTR0_CHECK_RC_BREAK(rc, VINF_SUCCESS); 404 411 for (uint32_t i = 0; i < 1000 && !ASMAtomicUoReadU32(&State.cShots); i++) 405 412 RTThreadSleep(5);
Note:
See TracChangeset
for help on using the changeset viewer.