+ 1
_Thrd_hardware_concurrency
Does it mean that number of thread sets by _Thrd_hardware_concurrency() is what at max your hardware is able to run together? I got answer of _Thrd_hardware_concurrency() as 12. Does it mean that I can work on 12 different threads at same time ?
3 Respuestas
+ 1
_Thrd_hardware_concurrency() returns the number of hardware threads supported by your CPU(s). If you receive a value of 12, it means that your hardware can theoretically run up to 12 threads simultaneously. However, the practical ability to work with 12 threads depends on your tasks, resources, and potential overhead. The returned number represents your hardware's maximum potential for concurrent execution and serves as a guideline for designing your application, but you don't necessarily have to always use exactly 12 threads
+ 1
Thanks GamerGeil Hd
0
Np