<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Commentaires sur : Having DSS compiles on Solaris 10 [part 7] - DSS and Multicast streams</title>
	<atom:link href="http://www.lecentre.net/blog/archives/54/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lecentre.net/blog/archives/54</link>
	<description>Internet, UNIX, Video, Leisure...</description>
	<pubDate>Tue, 06 Jan 2009 12:45:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Par : Chris Burns</title>
		<link>http://www.lecentre.net/blog/archives/54/comment-page-1#comment-7</link>
		<dc:creator>Chris Burns</dc:creator>
		<pubDate>Mon, 06 Aug 2007 13:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/54#comment-7</guid>
		<description>I know it's not a huge problem (as you point out), but I rewrote  OS::GetNumProcessors (for Solaris) to use the sysconf() system call. This takes a selector parameter, asking to return the number of "online" processors. Returns 1 on an old-school SunFire v120 and 32 on a new SunFire T2000. Use it if you like and pass it on...


#if (__solaris__)
{
    UInt32 numCPUs = sysconf(_SC_NPROCESSORS_ONLN);
    if (numCPUs </description>
		<content:encoded><![CDATA[<p>I know it&#8217;s not a huge problem (as you point out), but I rewrote  OS::GetNumProcessors (for Solaris) to use the sysconf() system call. This takes a selector parameter, asking to return the number of &#8220;online&#8221; processors. Returns 1 on an old-school SunFire v120 and 32 on a new SunFire T2000. Use it if you like and pass it on&#8230;</p>
<p>#if (__solaris__)<br />
{<br />
    UInt32 numCPUs = sysconf(_SC_NPROCESSORS_ONLN);<br />
    if (numCPUs</p>
]]></content:encoded>
	</item>
</channel>
</rss>
