Skip to content

Commit f5ed764

Browse files
authored
Update thread-class.md
1 parent 8cdea89 commit f5ed764

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/standard-library/thread-class.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ static unsigned int hardware_concurrency() noexcept;
9999

100100
An estimate of the number of hardware thread contexts. If the value cannot be computed or is not well defined, this method returns 0.
101101

102+
### Microsoft Specific
103+
`hardware_concurrency` is currently defined to return the number of logical processors, which corresponds to number of hardware threads that can be executed simultaneously. It takes into account number of physical processors, number of cores in each physical processor, and simultaneous multithreading on each single core.
104+
105+
However, on systems with more than 64 processors this number is capped by number of logical processor in a single group. See [Processor Groups](https://docs.microsoft.com/en-us/windows/win32/procthread/processor-groups).
106+
102107
## <a name="id_class"></a> thread::id Class
103108

104109
Provides a unique identifier for each thread of execution in the process.

0 commit comments

Comments
 (0)