Changeset 38437 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Aug 12, 2011 3:05:41 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExecThread.cpp
r38180 r38437 373 373 { 374 374 #ifdef DEBUG_andy 375 VBoxServiceVerbose(4, "ControlExec: [PID %u]: Waiting for pipe buffer %u \n",376 uPID, pPipeBuf->uPipeId );375 VBoxServiceVerbose(4, "ControlExec: [PID %u]: Waiting for pipe buffer %u (%ums)\n", 376 uPID, pPipeBuf->uPipeId, uTimeout); 377 377 #endif 378 378 rc = VBoxServicePipeBufWaitForEvent(pPipeBuf, uTimeout); … … 385 385 { 386 386 if (fEnabled && !cbRead) 387 AssertMsgFailed((" Waited for pipe buffer %u, but nothing read!\n",388 pPipeBuf->uPipeId));387 AssertMsgFailed(("[PID %u]: Waited (%ums) for pipe buffer %u (%u bytes left) , but nothing read!\n", 388 uPID, uTimeout, pPipeBuf->uPipeId, pPipeBuf->cbSize - pPipeBuf->cbOffset)); 389 389 if (pcbRead) 390 390 *pcbRead = cbRead; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePipeBuf.cpp
r38113 r38437 111 111 pBuf->cbOffset += cbToRead; 112 112 113 #ifdef DEBUG_andy 114 VBoxServiceVerbose(4, "Pipe [%u %u 0x%p %s] read pcbToRead=%u, cbSize=%u, cbAlloc=%u, cbOff=%u\n", 115 pBuf->uPID, pBuf->uPipeId, pBuf, pBuf->fEnabled ? "EN" : "DIS", cbToRead, pBuf->cbSize, pBuf->cbAllocated, pBuf->cbOffset); 116 #endif 113 117 if (pBuf->hEventSem != NIL_RTSEMEVENT) 114 118 { … … 117 121 } 118 122 119 #ifdef DEBUG_andy120 VBoxServiceVerbose(4, "Pipe [%u %u 0x%p %s] read pcbToRead=%u, cbSize=%u, cbAlloc=%u, cbOff=%u\n",121 pBuf->uPID, pBuf->uPipeId, pBuf, pBuf->fEnabled ? "EN" : "DIS", cbToRead, pBuf->cbSize, pBuf->cbAllocated, pBuf->cbOffset);122 #endif123 123 *pcbToRead = cbToRead; 124 124 }
Note:
See TracChangeset
for help on using the changeset viewer.