Hi all,
Thanks for the replies!
Alessandro Scotti wrote:Hi Tord,
there is no simple solution that I know. Although you can find the proper API call for each system, I think the real problem is understanding what information it is actually reporting.
For example if you run Windows, Linux or Solaris on a Intel single-core processor with hyperthreading, you will find the operating system reports 2 processors, which is not what you want in a chess engine.
That's a pity. I suppose I will just have to trust that the users will be smart enough to figure out how many threads they should use, then.
P.S. This is going to be off-topic but... got the new Mac, got Quartz Composer, got hooked... Hamsters' in danger!!!
I don't even know what Quartz Composer is, although I have noticed that there is a program with such a name. Thanks for the warning - I'll try to resist the temptation to have a look at it.
Tord