Boost C++ Libraries: Ticket #6100: Compute hardware_concurrency() using get_nprocs() on GLIBC systems https://svn.boost.org/trac10/ticket/6100 <p> The get_nprocs() function is provided by glibc and not linux-specific. The attached patch is required to build on Debian/kfreebsd. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6100 Trac 1.4.3 smr@… Mon, 07 Nov 2011 07:33:42 GMT attachment set https://svn.boost.org/trac10/ticket/6100 https://svn.boost.org/trac10/ticket/6100 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">kfreebsd-thread.patch</span> </li> </ul> Ticket viboes Fri, 02 Dec 2011 21:36:00 GMT owner, status changed; cc set https://svn.boost.org/trac10/ticket/6100#comment:1 https://svn.boost.org/trac10/ticket/6100#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Hi, </p> <p> this patch is not enough. Could you complete it so that the condition changes only Debian/kfreebsd? Which is the specific define that determines that we are compiling for Debian/kfreebsd? </p> Ticket anonymous Sat, 03 Dec 2011 07:40:27 GMT <link>https://svn.boost.org/trac10/ticket/6100#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6100#comment:2</guid> <description> <p> I don't understand the question: the point of the patch is that get_nprocs() is provided by glibc, so the current test is wrong. See discussion: </p> <ul><li><a class="ext-link" href="http://lists.debian.org/debian-bsd/2010/01/msg00028.html"><span class="icon">​</span>http://lists.debian.org/debian-bsd/2010/01/msg00028.html</a> </li><li><a class="ext-link" href="http://lists.debian.org/debian-bsd/2010/01/msg00030.html"><span class="icon">​</span>http://lists.debian.org/debian-bsd/2010/01/msg00030.html</a> </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 04 Dec 2011 14:34:35 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/6100#comment:3 https://svn.boost.org/trac10/ticket/6100#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> Thanks the pointers were quite clarifying. </p> <p> Committed in trunk revision 75800. </p> Ticket viboes Sun, 04 Dec 2011 23:31:03 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/6100#comment:4 https://svn.boost.org/trac10/ticket/6100#comment:4 <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> Let close it when merged to release </p> Ticket viboes Sat, 07 Jan 2012 22:52:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6100#comment:5 https://svn.boost.org/trac10/ticket/6100#comment:5 <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> Committed in release at <a class="missing ticket">#76291</a> </p> Ticket