Hi Daniel,
On 1/24/22 23:59, Daniel Lehman wrote:
+unsigned int __stdcall __std_parallel_algorithms_hw_threads(void) +{
- static unsigned int val = -1;
- TRACE("()\n");
- if (val == -1)
- {
SYSTEM_INFO si;
GetSystemInfo(&si);
val = si.dwNumberOfProcessors;
- }
- return val;
+}
Shouldn't the function just call _Thrd_hardware_concurrency instead of re-implementing it?
Thanks, Piotr