[Mono-dev] Environment.ProcessorCount

Jon Chambers joncham at gmail.com
Wed Sep 13 23:24:52 EDT 2006


Updated patch for approval. Thanks Gonzalo for the tip.

- Jonathan

On 9/6/06, Gonzalo Paniagua Javier <gonzalo at novell.com> wrote:
>
> 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
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060913/a5c5be4d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proc.diff
Type: text/x-patch
Size: 3690 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060913/a5c5be4d/attachment.bin 


More information about the Mono-devel-list mailing list