VirtualBox

Changeset 55801 in vbox


Ignore:
Timestamp:
May 11, 2015 2:18:41 PM (9 years ago)
Author:
vboxsync
Message:

fixed offline check while busy waiting in RTMpOnPair.

File:
1 edited

Legend:

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

    r54663 r55801  
    417417            while (ASMAtomicReadU32(&Args.cHits) < 2)
    418418            {
    419                 if ((cLoops & 0x1ff) == 0 && !RTMpIsCpuOnline(idCpuSelf == idCpu1 ? idCpu2 : idCpu2))
     419                if ((cLoops & 0x1ff) == 0 && !RTMpIsCpuOnline(idCpuSelf == idCpu1 ? idCpu2 : idCpu1))
    420420                    break;
    421421                cLoops++;
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