Boost C++ Libraries: Ticket #2053: porting boost to avr32 linux platform https://svn.boost.org/trac10/ticket/2053 <p> Hi, </p> <p> In threap.cpp the get_nprocs function is used. However this function is not implemented on several platforms(gnu extension) also not in ulibc. Therefore it would be better to take the SYSINFO() macro which is portable on all platforms. </p> <p> Guy </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2053 Trac 1.4.3 guyvo@… Fri, 27 Jun 2008 09:14:26 GMT <link>https://svn.boost.org/trac10/ticket/2053#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2053#comment:1</guid> <description> <p> port to avr32 </p> </description> <category>Ticket</category> </item> <item> <author>Mike Frysinger <vapier@…></author> <pubDate>Tue, 20 Jan 2009 18:50:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2053#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2053#comment:2</guid> <description> <p> this really isnt avr32 specific at all ... imo, the pthread file should default to the POSIX implementation by default and only fall back to get_nprocs() for linux </p> <p> i'll post a patch against 1.37.0 for the issue </p> </description> <category>Ticket</category> </item> <item> <author>Mike Frysinger <vapier@…></author> <pubDate>Tue, 20 Jan 2009 18:51:00 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/2053 https://svn.boost.org/trac10/ticket/2053 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">pthread-prefer-posix.patch</span> </li> </ul> Ticket felix.nawothnig@… Sun, 06 Sep 2009 03:16:23 GMT version changed; milestone deleted https://svn.boost.org/trac10/ticket/2053#comment:3 https://svn.boost.org/trac10/ticket/2053#comment:3 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.35.0</span> → <span class="trac-field-new">Boost 1.40.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-deleted">Boost 1.36.0</span> </li> </ul> <p> Although the attached patch is an improvement in my opinion it's still not correct - get_nprocs() is a glibc extension, it has nothing to do with linux really... </p> <p> Jump version to 1.40.0 (still present). </p> Ticket Mike Frysinger <vapier@…> Sun, 06 Sep 2009 06:19:01 GMT <link>https://svn.boost.org/trac10/ticket/2053#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2053#comment:4</guid> <description> <p> some Linux C libs implement get_nprocs() because glibc does it. at any rate, it doesnt really matter because any sane Linux C library will hit the POSIX code first thus making the issue moot. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Fri, 20 Nov 2009 10:33:28 GMT</pubDate> <title>component changed; milestone set https://svn.boost.org/trac10/ticket/2053#comment:5 https://svn.boost.org/trac10/ticket/2053#comment:5 <ul> <li><strong>component</strong> <span class="trac-field-old">threads</span> → <span class="trac-field-new">thread</span> </li> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> <p> I purpose to change the ticket title: Use of non portable get_nprocs on avr32 linux. </p> <p> Maybe it would be a good idea to provide this function in a portable way, but which library should include it? I guess that Oliver K. has the same issue on Boost.Task. </p> Ticket Anthony Williams Fri, 21 May 2010 16:55:46 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2053#comment:6 https://svn.boost.org/trac10/ticket/2053#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> <p> This no longer applies to the current trunk code (fixed in revision 54408) </p> Ticket