Changeset 6214 in vbox
- Timestamp:
- Dec 28, 2007 5:24:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp
r6213 r6214 350 350 RTSemEventWait(pData->ListenSem, 250); 351 351 } 352 else 353 if (hrc != ERROR_SUCCESS) 352 else if (hrc != ERROR_SUCCESS) 354 353 { 355 354 rc = RTErrConvertFromWin32(hrc); … … 464 463 pData->NamedPipe = hPipe; 465 464 465 rc = RTSemEventCreate(&pData->ListenSem); 466 AssertRC(rc); 467 466 468 rc = RTThreadCreate(&pData->ListenThread, drvNamedPipeListenLoop, (void *)pData, 0, RTTHREADTYPE_IO, RTTHREADFLAGS_WAITABLE, "NamedPipe"); 467 469 if VBOX_FAILURE(rc) 468 470 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("NamedPipe#%d failed to create listening thread"), pDrvIns->iInstance); 469 471 470 rc = RTSemEventCreate(&pData->ListenSem);471 AssertRC(rc);472 472 } 473 473 else
Note:
See TracChangeset
for help on using the changeset viewer.