VirtualBox

Changeset 5547 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 29, 2007 3:37:23 PM (17 years ago)
Author:
vboxsync
Message:

cTries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/timesupref.h

    r5521 r5547  
    152152         */
    153153        pData->cUpdateRaces++;
    154         for (;;)
     154        for (int cTries = 25; cTries > 0; cTries--)
    155155        {
    156156            u64PrevNanoTS = ASMAtomicReadU64(pData->pu64Prev);
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