Skip to content

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.

2 participants