Boost C++ Libraries: Ticket #10824: Boost.Thread 1.57 breaks Windows XP compatibility for SP2 and below. https://svn.boost.org/trac10/ticket/10824 <p> The commit 04e3d918 <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a> introduced a call to <a class="missing wiki">GetLogicalProcessorInformation</a> <a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>, which is only supported on Windows XP SP3 (or x64) and above. </p> <p> Is Windows XP SP2 support officially dropped or was this an unintentional break? </p> <hr /> <p> (Can't submit direct links because of spam protection) </p> <p> (1): github.com/boostorg/thread/commit/04e3d918fbf31792b6553d6cc2002214ea671aa9 </p> <p> (2): msdn.microsoft.com/en-us/library/windows/desktop/ms683194%28v=vs.85%29.aspx </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10824 Trac 1.4.3 viboes Fri, 28 Nov 2014 17:21:36 GMT owner changed https://svn.boost.org/trac10/ticket/10824#comment:1 https://svn.boost.org/trac10/ticket/10824#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">timblechmann</span> </li> </ul> <p> I think it would be good that physical_concurrency calls hardware_concurrency if it can not be implemented. </p> <p> Tim please, could you take care of this issue? </p> Ticket timblechmann Sat, 29 Nov 2014 10:42:27 GMT <link>https://svn.boost.org/trac10/ticket/10824#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10824#comment:2</guid> <description> <p> not intentional. vicente, thinking about a good fallback, i'd actually prefer to return 0 instead of calling hardware_concurrency: the reason is simple: code that depends on distinguishing the number of physical and the number of virtual processors, can rely on this. if it returns 0, the user can call hardware_concurrency. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 29 Nov 2014 13:29:40 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/10824#comment:3 https://svn.boost.org/trac10/ticket/10824#comment:3 <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> Ok, no problem. </p> <p> Felix, does the following covers your expectations <a class="ext-link" href="https://github.com/boostorg/thread/pull/32"><span class="icon">​</span>https://github.com/boostorg/thread/pull/32</a> ? </p> <p> Thanks Tim. </p> Ticket Felix Bruns <felixbruns@…> Sun, 30 Nov 2014 14:36:31 GMT <link>https://svn.boost.org/trac10/ticket/10824#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10824#comment:4</guid> <description> <p> Thanks for the quick fix! :-) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 13 Dec 2014 16:05:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10824#comment:5 https://svn.boost.org/trac10/ticket/10824#comment:5 <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 anonymous Fri, 19 Dec 2014 13:06:50 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/10824#comment:6 https://svn.boost.org/trac10/ticket/10824#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> If I'm not mistaken, comments are not allowed after the backslash in mutliline macros, so the line </p> <p> <code>|| ( BOOST_USE_WINAPI_VERSION &lt;= BOOST_WINAPI_VERSION_WINXP ) \ // a bit too strict: Windows XP with SP3 would be sufficient</code> </p> <p> will fail to compile (at least does in VS2010). </p> Ticket viboes Sat, 20 Dec 2014 06:02:44 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10824#comment:7 https://svn.boost.org/trac10/ticket/10824#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/thread/commit/8e1be55c6d560c44fb07cc497a3480527957576c"><span class="icon">​</span>https://github.com/boostorg/thread/commit/8e1be55c6d560c44fb07cc497a3480527957576c</a> </p> Ticket