Skip to content

Conversation

@Patrick-6
Copy link
Contributor

This PR improves how thread joining is handled, by ensuring that the write of the return value only happens once the join succeeds. Before this write happened immediately, even if the thread is blocked by the join.

@Patrick-6
Copy link
Contributor Author

r? @RalfJung

@RalfJung
Copy link
Member

This looks great, thanks! Please squash the commits using ./miri squash. Then write @rustbot ready after you force-pushed the squashed PR.

@rustbot author

@rustbot
Copy link
Collaborator

rustbot commented Jun 26, 2025

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot rustbot added the S-waiting-on-author Status: Waiting for the PR author to address review comments label Jun 26, 2025
@Patrick-6 Patrick-6 force-pushed the rework-thread-join branch from 3bbd08c to 1a9d0f4 Compare June 26, 2025 13:20
@Patrick-6
Copy link
Contributor Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Waiting for a review to complete and removed S-waiting-on-author Status: Waiting for the PR author to address review comments labels Jun 26, 2025
@RalfJung RalfJung enabled auto-merge June 26, 2025 13:21
@RalfJung RalfJung added this pull request to the merge queue Jun 26, 2025
Merged via the queue into rust-lang:master with commit 0b76b73 Jun 26, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Waiting for a review to complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants