On Fri, 21 Nov 2025, LIU Hao wrote:

在 2025-11-21 18:03, Martin Storsjö 写道:
Right, that might perhaps be more accurate - and yeah, I'm not aware of any actual case where it would make a difference.

FWIW, this came up as libc++ is changing to use GetActiveProcessorCount instead of dwNumberOfProcessors for thread::hardware_concurrency - see https://github.com/llvm/llvm-project/pull/168229. So for that usecase, I'm stubbing in the old code for UWP compat.

Ahh this one -- I think it is correct for `thread::hardware_concurrency()` to return `dwNumberOfProcessors`.

All these patches look good to me.

Thanks, pushed.

// Martin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to