-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Document DOTNET_Thread_DefaultStackSize environment variable and runtimeconfig.json property for .NET 10 #49657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: agocke <[email protected]>
Co-authored-by: agocke <[email protected]>
|
@copilot Please adjust the PR to be against main |
I don't have the ability to change the base branch of the PR directly from this environment. You'll need to either:
The documentation changes are complete and ready - the file is standalone and should merge cleanly into main. |
Co-authored-by: agocke <[email protected]>
Co-authored-by: agocke <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds documentation for the DOTNET_Thread_DefaultStackSize environment variable, a new .NET 9 runtime configuration option that controls the default stack size for newly created threads. The documentation follows the established pattern used elsewhere in the threading configuration file.
- Adds the
ai-usage: ai-assistedfrontmatter metadata - Documents the new
DOTNET_Thread_DefaultStackSizeenvironment variable for .NET 9 - Provides examples for setting the environment variable across different platforms and shells
Co-authored-by: agocke <[email protected]>
Co-authored-by: agocke <[email protected]>
Co-authored-by: agocke <[email protected]>
Co-authored-by: agocke <[email protected]>
Co-authored-by: agocke <[email protected]>
@copilot please fix
Summary
Adds documentation for the new
DOTNET_Thread_DefaultStackSizeenvironment variable andSystem.Threading.DefaultStackSizeruntimeconfig.json property introduced in .NET 10, which configures the default stack size for threads created without an explicitly specified stack size. The value is specified as a hexadecimal number representing bytes, and this setting does not affect the main application thread.The documentation follows the standard format used by other threading configuration sections in the file, including:
Changes Made
ai-usage: ai-assistedto the frontmatter as requiredSystem.Threading.DefaultStackSizeruntimeconfig.json property (.NET 10)DOTNET_Thread_DefaultStackSizeenvironment variable (.NET 10)Testing
The changes maintain consistency with the existing documentation style and structure.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews