Changeset 19970 in vbox for trunk/src/VBox/Runtime/testcase/tstR0ThreadPreemptionDriver.cpp
- Timestamp:
- May 24, 2009 4:22:00 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstR0ThreadPreemptionDriver.cpp
r19940 r19970 145 145 return RTTestSummaryAndDestroy(hTest); 146 146 if (Req.szMsg[0] == '!') 147 { 147 { 148 148 RTTestIFailed("%s", &Req.szMsg[1]); 149 149 return RTTestSummaryAndDestroy(hTest); … … 163 163 RTTESTI_CHECK_RC(rc = SUPR3CallR0Service("tstR0ThreadPreemption", sizeof("tstR0ThreadPreemption") - 1, 164 164 TSTR0THREADPREMEPTION_IS_PENDING, 0, &Req.Hdr), VINF_SUCCESS); 165 if ( strcmp(Req.szMsg, "cLoops= 0\n")165 if ( strcmp(Req.szMsg, "cLoops=1\n") 166 166 || i >= 64) 167 167 { … … 177 177 178 178 /* 179 * Stay in ring-0 until preemption is pending.179 * Test nested RTThreadPreemptDisable calls. 180 180 */ 181 181 RTTestSub(hTest, "Nested");
Note:
See TracChangeset
for help on using the changeset viewer.