dotnet / dotnet/dotnet-api-docs

ProcessorCount doc should mention DOTNET_PROCESSOR_COUNT environment variable

Open
#10,804 3 comments 1 reaction 0 assignees View on GitHub
area-System.Runtime untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Missing information

### Description

According to https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/environment-processorcount-on-windows the environment variable `DOTNET_PROCESSOR_COUNT` ultimately sets the `ProcessorCount` property. This fact should be mentioned in the API doc.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.environment.processorcount?view=net-8.0

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/Environment.xml

### Document Version Independent Id

2221a3a7-144c-eade-0ecd-750fa77bb662

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.