VirtualBox

Changeset 54366 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 23, 2015 3:03:25 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98455
Message:

Must check for timeout in the first loop iteration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp

    r54365 r54366  
    27282728            break;
    27292729
    2730         /* Check for timeouts every so often (not every loop in case RDTSC is trapping or something). */
     2730        /* Check for timeouts every so often (not every loop in case RDTSC is
     2731           trapping or something).  Must check the first time around. */
    27312732#if 0 /* For debugging the timeout paths. */
    27322733        static uint32_t volatile xxx;
    27332734#endif
    2734         iSync2Loops++;
    27352735        if (   (   (iSync2Loops & 0x3ff) == 0
    27362736                && ASMReadTSC() - pMySync->uTscStart > pMySync->cMaxTscTicks)
     
    27482748            }
    27492749        }
     2750        iSync2Loops++;
    27502751    }
    27512752
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