VirtualBox

Changeset 24897 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 24, 2009 12:44:24 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55174
Message:

ssmR3StrmClose: Signal the right semaphore. Fixes deadlock when cancelled on the source side of a teleportation.

File:
1 edited

Legend:

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

    r24895 r24897  
    21782178        if (pStrm->hIoThread != NIL_RTTHREAD)
    21792179        {
    2180             int rc2 = RTSemEventSignal(pStrm->hEvtFree);
     2180            int rc2 = RTSemEventSignal(pStrm->hEvtHead);
    21812181            AssertLogRelRC(rc2);
    21822182            int rc3 = RTThreadWait(pStrm->hIoThread, RT_INDEFINITE_WAIT, NULL);
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