Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Number of processors command?

Author
Message
Michael P
18
Years of Service
User Offline
Joined: 6th Mar 2006
Location: London (UK)
Posted: 3rd Jun 2008 20:23
For multi threading purposes I am looking for a command that simply states how many cores the user's processor has so that I can specify how many threads to create. I believe there a command in DarkGDK but I'd prefer it if it was not a command requiring DirectX to be installed.
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 3rd Jun 2008 20:30
There is a WinAPI function which returns this, among other things: http://msdn.microsoft.com/en-us/library/ms683194.aspx

Login to post a reply

Server time is: 2024-09-29 21:21:23
Your offset time is: 2024-09-29 21:21:23