VirtualBox

Changeset 11324 in vbox for trunk/src


Ignore:
Timestamp:
Aug 11, 2008 10:17:14 AM (16 years ago)
Author:
vboxsync
Message:

iprt/RTMpGetOnlineSet: Hack to make solaris build...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/mp-solaris.cpp

    r11273 r11324  
    209209    return sysconf(_SC_NPROCESSORS_ONLN);
    210210}
     211
     212
     213RTDECL(PRTCPUSET) RTMpGetOnlineSet(PRTCPUSET pSet)
     214{
     215    /** @todo fix this! */
     216    RTCpuSetEmpty(pSet);
     217    RTCPUID cMax = RTMpGetOnlineCount();
     218    while (cMax-- > 0)
     219        RTCpuSetAdd(pSet, cMax);
     220    return pSet;
     221}
     222
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