Skip to content

Commit b3203f6

Browse files
authored
Update execution.md
1 parent e700e6f commit b3203f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/standard-library/execution.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@ namespace std::execution {
2929
|[parallel_policy Class](parallel-policy-class.md)|Used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm’s execution may be parallelized.|
3030
|[parallel_unsequenced_policy Class](parallel-unsequenced-policy-class.md)|Used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm’s execution may be parallelized and vectorized.|
3131
|[sequenced_policy Class](sequenced-policy-class.md)|Used as a unique type to disambiguate parallel algorithm overloading and require that a parallel algorithm’s execution may not be parallelized.|
32+
33+
### Microsoft Specific
34+
35+
When `parallel_policy` or `parallel_unsequenced_policy` cause the algorithm to be parallelized, the parallel execution uses Windows Thread Pool. See [Thread Pools](https://docs.microsoft.com/en-us/windows/win32/procthread/thread-pools). Number of concurrent threads is limited to thread pool defaults (currently 500). Number of threads concurrently executing on hardware is currently limited by number of logical processor in the process's processor group. See [Processor Groups](https://docs.microsoft.com/en-us/windows/win32/procthread/processor-groups). Number of chunks is also currently limited by number of logical processor in the process's processor group.
3236

3337
## Requirements
3438

3539
**Header:** \<execution>
3640

37-
**Namespace:** stdext
41+
**Namespace:** std
3842

3943
## See also
4044

0 commit comments

Comments
 (0)