[Mono-bugs] [Bug 400838] Environment. ProcessorCount does not return the correct number of processors/cores

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Aug 13 12:07:30 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=400838

User atsushi at ximian.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=400838#c1


Atsushi Enomoto <atsushi at ximian.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |atsushi at ximian.com
           Severity|Normal                                          |Minor
             Status|NEW                                             |NEEDINFO
      Info Provider|                                                |matteo.tesser at gmail.com




--- Comment #1 from Atsushi Enomoto <atsushi at ximian.com>  2008-08-13 10:07:29 MDT ---
What does the sample C code below print?

#include <stdio.h>
#include <unistd.h>

int main ()
{
  printf ("%d\n", sysconf (_SC_NPROCESSORS_CONF));
  printf ("%d\n", sysconf (_SC_NPROCESSORS_ONLN));
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list