VirtualBox

Changeset 9494 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Jun 6, 2008 4:31:33 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31760
Message:

fixed + re-enabled USE_NEW_OS_INTERFACE_FOR_GIP code for Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c

    r9466 r9494  
    188188/**
    189189 * Sets the state if it has a certain value.
     190 *
     191 * @return true if xchg was done.
     192 * @return false if xchg wasn't done.
    190193 */
    191194DECLINLINE(bool) rtTimerLnxCmpXchgState(RTTIMERLNXSTATE volatile *penmState, RTTIMERLNXSTATE enmNewState, RTTIMERLNXSTATE enmCurState)
     
    539542                break;
    540543            Assert(enmState == RTTIMERLNXSTATE_ACTIVE);
    541         } while (rtTimerLnxCmpXchgState(&pTimer->aSubTimers[iCpu].enmState, RTTIMERLNXSTATE_STOPPING, enmState));
     544        } while (!rtTimerLnxCmpXchgState(&pTimer->aSubTimers[iCpu].enmState, RTTIMERLNXSTATE_STOPPING, enmState));
    542545    }
    543546
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