VirtualBox

Changeset 412 in vbox for trunk


Ignore:
Timestamp:
Jan 29, 2007 3:02:53 PM (18 years ago)
Author:
vboxsync
Message:

Reset the update event in proper place (similar to r17824, r17825).

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp

    r280 r412  
    247247        BOOL finished;
    248248
     249        RTSemEventMultiReset(mUpdateSem);
     250
    249251        mFramebuffer->NotifyUpdate(x, y, w, h, &finished);
    250252        if (!finished)
     
    252254            // the Framebuffer needs more time to process
    253255            // the event so we have to halt the VM until it's done
    254             RTSemEventMultiReset(mUpdateSem);
    255256            mFramebuffer->Unlock();
    256257            RTSemEventMultiWait(mUpdateSem, RT_INDEFINITE_WAIT);
  • trunk/src/VBox/Main/DisplayImpl.cpp

    r279 r412  
    390390        BOOL finished = FALSE;
    391391
     392        RTSemEventMultiReset(mUpdateSem);
     393
    392394        mFramebuffer->NotifyUpdate(x, y, w, h, &finished);
    393395
     
    398400             *  the event so we have to halt the VM until it's done
    399401             */
    400             RTSemEventMultiReset(mUpdateSem);
    401402            mFramebuffer->Unlock();
    402403            RTSemEventMultiWait(mUpdateSem, RT_INDEFINITE_WAIT);
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