Lost in the matrix

C/C++/C#/Java, Multithreading

#include <windows.h>

unsigned int getCPUcount(void)
{
SYSTEM_INFO sysinfo;

GetSystemInfo(&sysinfo);
return ((unsigned int)sysinfo.dwNumberOfProcessors);
}

0 commentaires:

Enregistrer un commentaire