VirtualBox

Changeset 21450 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Jul 9, 2009 4:33:54 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49864
Message:

VBoxGuest.cpp: Fixed bug in the wake-for-event wakeup code: missing event matching, caused waiters to wake up when they shouldn't.

File:
1 edited

Legend:

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

    r21376 r21450  
    14781478            fEvents |= pDevExt->f32PendingEvents;
    14791479            for (pWait = pDevExt->WaitList.pHead; pWait; pWait = pWait->pNext)
    1480                 if (!pWait->fResEvents)
     1480                if (    (pWait->fReqEvents & fEvents)
     1481                    &&  !pWait->fResEvents)
    14811482                {
    14821483                    pWait->fResEvents = pWait->fReqEvents & fEvents;
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