VirtualBox

Changeset 38437 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Aug 12, 2011 3:05:41 PM (14 years ago)
Author:
vboxsync
Message:

GuestCtrl: Update.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExecThread.cpp

    r38180 r38437  
    373373            {
    374374#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);
    377377#endif
    378378                rc = VBoxServicePipeBufWaitForEvent(pPipeBuf, uTimeout);
     
    385385                {
    386386                    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));
    389389                    if (pcbRead)
    390390                        *pcbRead = cbRead;
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServicePipeBuf.cpp

    r38113 r38437  
    111111            pBuf->cbOffset += cbToRead;
    112112
     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
    113117            if (pBuf->hEventSem != NIL_RTSEMEVENT)
    114118            {
     
    117121            }
    118122
    119 #ifdef DEBUG_andy
    120             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 #endif
    123123            *pcbToRead = cbToRead;
    124124        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette