Skip to content
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

refactor: refine thread variant for windows #4035

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

discord9
Copy link
Contributor

close #4014, check thread id before making it into handle on Windows.

Copy link
Member

@RalfJung RalfJung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

src/shims/windows/handle.rs Outdated Show resolved Hide resolved
Copy link
Member

@RalfJung RalfJung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just some comment nits.

src/shims/windows/handle.rs Outdated Show resolved Hide resolved
src/shims/windows/handle.rs Outdated Show resolved Hide resolved
@RalfJung
Copy link
Member

Great, thanks! Could you squash this into a single commit? (Using git rebase --interactive --keep-base to keep the diff nicer.)

@RalfJung RalfJung added this pull request to the merge queue Nov 19, 2024
Merged via the queue into rust-lang:master with commit 4d39c8f Nov 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine the Thread variant of Windows Handle enum
2 participants