id summary reporter owner description type status milestone component version severity resolution keywords cc 12036 boost::physical_concurrency always returns 0 if BOOST_USE_WINAPI_VERSION is not defined Diego Barrios Romero viboes "On Windows 7: Per default BOOST_USE_WINAPI_VERSION is not defined. Nevertheless, its value is compared to BOOST_WINAPI_VERSION_WINXP (see [https://github.com/boostorg/thread/blob/develop/src/win32/thread.cpp#L533 link]). As a consequence, boost:physical_concurrency() always returns 0 and the test test_physical_concurrency_is_non_zero fails. It appears to me that BOOST_USE_WINAPI_VERSION should be already be defined [https://github.com/boostorg/thread/blob/develop/src/win32/thread.cpp#L533 here] as it is used already in many other headers but somehow, it appears not to be. The proof is that applying the patch attached, the test passes. Maybe this is indicating some header inclusion issue. (This issue is present in the current ""develop"" branch, as well as in the 1.60 release)" Bugs closed Boost 1.61.0 thread Boost Development Trunk Problem fixed