VirtualBox

Changeset 75719 in vbox


Ignore:
Timestamp:
Nov 25, 2018 5:38:19 PM (6 years ago)
Author:
vboxsync
Message:

VBoxService/control: Corrected confused mishandling of VERR_INTERRUPT in vgsvcGstCtrlSessionThread(). Not that it really matters at all here, given that we're not blocking.

File:
1 edited

Legend:

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

    r72098 r75719  
    11731173    {
    11741174        rcWait = RTProcWaitNoResume(pThread->hProcess, RTPROCWAIT_FLAGS_NOBLOCK, &ProcessStatus);
    1175         if (RT_UNLIKELY(rcWait == VERR_INTERRUPTED))
    1176             continue;
    1177 
    11781175        if (   rcWait == VINF_SUCCESS
    11791176            || rcWait == VERR_PROCESS_NOT_FOUND)
     
    11821179            break;
    11831180        }
    1184         AssertMsgBreak(rcWait == VERR_PROCESS_RUNNING,
     1181        AssertMsgBreak(rcWait == VERR_PROCESS_RUNNING || rcWait == VERR_INTERRUPTED,
    11851182                       ("Got unexpected rc=%Rrc while waiting for session process termination\n", rcWait));
    11861183
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