[Mono-dev] Environment.ProcessorCount

Gonzalo Paniagua Javier gonzalo at novell.com
Wed Sep 6 11:47:47 EDT 2006


On Tue, 2006-09-05 at 15:56 -0400, Jon Chambers wrote:
> Here is a patch (from a coworker) for Environment.ProcessorCount.
> Please review.

io-layer implements GetSystemInfo and already uses sysconf for that.
Also the variable queried is _SC_NPROCESSORS_ONLN, as the number of
total processors might differ from the total 'online' processors.

-Gonzalo





More information about the Mono-devel-list mailing list