VirtualBox

Changeset 86397 in vbox for trunk


Ignore:
Timestamp:
Oct 1, 2020 6:58:48 PM (4 years ago)
Author:
vboxsync
Message:

tstSupSem-Zombie: The threads now returns with VERR_INTERRUPTED when we terminate the child process, so I guess we should take that as expected behaviour... bugref:9841

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem-Zombie.cpp

    r82968 r86397  
    5656    RTThreadUserSignal(hSelf);
    5757    int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000);
    58     AssertReleaseMsgFailed(("%Rrc\n", rc));
     58    AssertReleaseMsg(rc == VERR_INTERRUPTED, ("%Rrc\n", rc));
    5959    return rc;
    6060}
     
    6666    RTThreadUserSignal(hSelf);
    6767    int rc = SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, 120*1000);
    68     AssertReleaseMsgFailed(("%Rrc\n", rc));
     68    AssertReleaseMsg(rc == VERR_INTERRUPTED, ("%Rrc\n", rc));
    6969    return rc;
    7070}
     
    7676    RTThreadUserSignal(hSelf);
    7777    int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT);
    78     AssertReleaseMsgFailed(("%Rrc\n", rc));
     78    AssertReleaseMsg(rc == VERR_INTERRUPTED, ("%Rrc\n", rc));
    7979    return rc;
    8080}
     
    8686    RTThreadUserSignal(hSelf);
    8787    int rc = SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, RT_INDEFINITE_WAIT);
    88     AssertReleaseMsgFailed(("%Rrc\n", rc));
     88    AssertReleaseMsg(rc == VERR_INTERRUPTED, ("%Rrc\n", rc));
    8989    return rc;
    9090}
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