Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : Number of processor cores on a box?

www.cryer.info
Managed Newsgroup Archive

Number of processor cores on a box?

Subject:Number of processor cores on a box?
Posted by:"Martin James" (mjames_falc..@dial.pipex.com)
Date:Sun, 13 Nov 2005 10:47:35

How can I find out the total number of local processor cores available on a
Windows box, (NT-type kernels)?

I want to start [number of processor cores] threads for CPU-intensive,
non-blocking distributable tasks, so finding out this number in code would
remove a configuration parameter from my subSystem.

Rgds,
Martin

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive