Changeset 23713 in vbox
- Timestamp:
- Oct 12, 2009 8:53:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstPDMAsyncCompletionStress.cpp
r23677 r23713 273 273 /* Allocate data buffer. */ 274 274 pTestTask->DataSeg.pvSeg = RTMemAlloc(pTestTask->DataSeg.cbSeg); 275 if ( pTestTask->DataSeg.pvSeg)275 if (!pTestTask->DataSeg.pvSeg) 276 276 return VERR_NO_MEMORY; 277 277 … … 305 305 uint32_t cTasksStarted = 0; 306 306 int rc = VINF_SUCCESS; 307 308 if (pThread->enmState == PDMTHREADSTATE_INITIALIZING) 309 return VINF_SUCCESS; 307 310 308 311 while (pTestFile->fRunning) … … 452 455 if (RT_SUCCESS(rc)) 453 456 { 457 rc = PDMR3ThreadResume(pTestFile->hThread); 458 AssertRC(rc); 459 454 460 RTPrintf(TESTCASE ": Created test file %s cbFileMax=%llu cbFileSegment=%u cSegments=%u cTasksActiveMax=%u\n", 455 461 szFile, pTestFile->cbFileMax, pTestFile->cbFileSegment, pTestFile->cSegments, pTestFile->cTasksActiveMax);
Note:
See TracChangeset
for help on using the changeset viewer.