VirtualBox

Changeset 10444 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 9, 2008 5:52:11 PM (17 years ago)
Author:
vboxsync
Message:

Missing function on all but Linux at the moment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostImpl.cpp

    r10443 r10444  
    101101#include <VBox/err.h>
    102102#include <iprt/string.h>
     103/** @todo the following line becomes obsolete after switching to Mp runtime functions */
     104#include <iprt/system.h>
    103105#include <iprt/mp.h>
    104106#include <iprt/time.h>
     
    666668    AutoWriteLock alock (this);
    667669    CHECK_READY();
    668     *count = RTMpGetOnlineCount();
     670    *count = RTSystemProcessorGetCount();
     671    /** @todo after implementing the Mp runtime on all platforms replace with
     672     * *count = RTMpGetOnlineCount(); */
    669673    return S_OK;
    670674}
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