Skip to content

Provide additional explanation for the Windows signal handling stuff. #1182

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Jun 27, 2025

This PR updates a comment in our Windows-specific signal handling code for exit tests to clarify why we call _exit() rather than exit(). It also switches from _Exit() to _exit() (although on Windows, they are synonymous.)

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR updates a comment in our Windows-specific signal handling code for exit
tests to clarify _why_ we call `_exit()` rather than `exit()`. It also switches
from `_Exit()` to `_exit()` (although on Windows, they are synonymous.)
@grynspan grynspan added this to the Swift 6.x (main) milestone Jun 27, 2025
@grynspan grynspan self-assigned this Jun 27, 2025
@grynspan grynspan added documentation 📚 Improvements or additions to documentation windows 🪟 Windows support workaround Workaround for an issue in another component (may need to revert later) exit-tests ☠️ Work related to exit tests labels Jun 27, 2025
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan added the self-reviewed PR was self-reviewed by a code owner label Jun 27, 2025
@grynspan
Copy link
Contributor Author

Self-reviewing. This is a change to a comment and the one code change is a no-op.

@grynspan grynspan merged commit 072692c into main Jun 27, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/windows-exit branch June 27, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📚 Improvements or additions to documentation exit-tests ☠️ Work related to exit tests self-reviewed PR was self-reviewed by a code owner windows 🪟 Windows support workaround Workaround for an issue in another component (may need to revert later)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant