I’m trying to compile Boost 1.49.0 for WinRT. I’ve got it down to one method: GetSystemInfo(), which is used in boost::thread::hardware_concurrency() to obtain the number of logical processors on the system.
I haven’t found any replacement in WinRT yet.
Is there an alternative method I could use?
You can call the Windows API function
GetNativeSystemInfo, which is permitted in Metro style apps.