VirtualBox

Changeset 12881 in vbox for trunk


Ignore:
Timestamp:
Oct 1, 2008 10:44:09 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37279
Message:

DBGFR3Detach: Have to use RTSemPongWait, DBGFR3EventWait will check the fAttached flag and racing EMT which is clearing it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/DBGF.cpp

    r12877 r12881  
    893893     * Wait for the OK event.
    894894     */
    895     PCDBGFEVENT pEvent;
    896     rc = DBGFR3EventWait(pVM, RT_INDEFINITE_WAIT, &pEvent);
     895    rc = RTSemPongWait(&pVM->dbgf.s.PingPong, RT_INDEFINITE_WAIT);
    897896    AssertLogRelMsgRCReturn(rc, ("Wait on detach command failed, rc=%Rrc\n", rc), rc);
    898897
Note: See TracChangeset for help on using the changeset viewer.

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