Boost C++ Libraries: Ticket #10996: Thread physical_concurrency() is failing on Windows https://svn.boost.org/trac10/ticket/10996 <p> As previously discussed. Assigning to myself. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10996 Trac 1.4.3 Niall Douglas Wed, 04 Feb 2015 18:20:34 GMT owner changed https://svn.boost.org/trac10/ticket/10996#comment:1 https://svn.boost.org/trac10/ticket/10996#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">Niall Douglas</span> </li> </ul> Ticket viboes Sun, 08 Feb 2015 11:16:14 GMT <link>https://svn.boost.org/trac10/ticket/10996#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10996#comment:2</guid> <description> <p> Would it be enough to return </p> <pre class="wiki">return hardware_concurrency(); </pre><p> instead of returning 0 in </p> <pre class="wiki"> unsigned thread::physical_concurrency() BOOST_NOEXCEPT { // a bit too strict: Windows XP with SP3 would be sufficient #if BOOST_PLAT_WINDOWS_RUNTIME \ || ( BOOST_USE_WINAPI_VERSION &lt;= BOOST_WINAPI_VERSION_WINXP ) \ || ( defined(__MINGW32__) &amp;&amp; !defined(__MINGW64__) ) return 0; #else </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Niall Douglas</dc:creator> <pubDate>Mon, 16 Feb 2015 17:44:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10996#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10996#comment:3</guid> <description> <p> I'm a bit confused why we disable use of <a class="missing wiki">GetLogicalProcessorInformation</a>() at all actually as out lowest supported platform is Windows XP SP3. </p> <p> I've removed the check here so it only disables on WinRT from now on. And for WinRT it now returns hardware_concurrency(). If it passes on Mingw I'll push the fix. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Niall Douglas</dc:creator> <pubDate>Mon, 16 Feb 2015 18:04:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10996#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10996#comment:4</guid> <description> <p> Fix pushed. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Thu, 19 Feb 2015 08:17:42 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/10996#comment:5 https://svn.boost.org/trac10/ticket/10996#comment:5 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/thread/commit/cf1182ee99ee1868550faac091b5f0d8b43e4dd7"><span class="icon">​</span>https://github.com/boostorg/thread/commit/cf1182ee99ee1868550faac091b5f0d8b43e4dd7</a> </p> Ticket viboes Sun, 08 Mar 2015 22:16:31 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10996#comment:6 https://svn.boost.org/trac10/ticket/10996#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket