Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » CPU_Cores() error
CPU_Cores() error [message #14546] Sun, 02 March 2008 17:14 Go to previous message
kodos is currently offline  kodos
Messages: 111
Registered: March 2008
Experienced Member
Hi,

I have found one or two bugs in the function CPU_Cores() under Win32.

1)
The for loop in the 32 bit version of the function should only run trough 32 times not 64 times.

2)
Shouldn't we use the ProcessAffinityMask instead of the SystemAffinityMask to get the available cores?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Detect connection, valid URL, 404 page
Next Topic: IsFinished() for CoWork
Goto Forum:
  


Current Time: Sat Apr 27 23:00:12 CEST 2024

Total time taken to generate the page: 0.92561 seconds