Changeset 1663 in vbox
- Timestamp:
- Mar 23, 2007 10:50:02 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19796
- Location:
- trunk/src/VBox/Devices/Serial
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvChar.cpp
r1646 r1663 163 163 cbRemaining = sizeof(aBuffer); 164 164 rc = pData->pDrvStream->pfnRead(pData->pDrvStream, aBuffer, &cbRemaining); 165 if (rc == VERR_BROKEN_PIPE) 166 return VINF_SUCCESS; /* abort; typically happens when shutting down. */ 167 165 168 AssertRC(rc); 166 169 } -
trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp
r1662 r1663 310 310 static DECLCALLBACK(int) drvNamedPipeListenLoop(RTTHREAD ThreadSelf, void *pvUser) 311 311 { 312 PDRVNAMEDPIPE pData = (PDRVNAMEDPIPE)pvUser; 313 int rc = VINF_SUCCESS; 312 PDRVNAMEDPIPE pData = (PDRVNAMEDPIPE)pvUser; 313 int rc = VINF_SUCCESS; 314 RTFILE NamedPipe = pData->NamedPipe; 314 315 315 316 while (RT_LIKELY(!pData->fShutdown)) 316 317 { 317 318 #ifdef __WIN__ 318 BOOL fConnected = ConnectNamedPipe((HANDLE) pData->NamedPipe, NULL);319 BOOL fConnected = ConnectNamedPipe((HANDLE)NamedPipe, NULL); 319 320 if (!fConnected) 320 321 {
Note:
See TracChangeset
for help on using the changeset viewer.