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

[Backport 2.19-maintenance] withFramedSink(): Receive interrupts on the stderr thread #9691

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jan 4, 2024

Automatic backport to 2.19-maintenance, triggered by a label in #9687.

Otherwise Nix deadlocks when Ctrl-C is received in withFramedSink():
the parent thread will wait forever for the stderr thread to shut
down.

Fixes the hang reported in #7245 (comment).

(cherry picked from commit 24e7048)
Shouldn't hurt to do this. In particular, this should speed up
shutting down the PathSubstitutionGoal thread if it's copying from a
remote store.

(cherry picked from commit 295a2ff)
@edolstra edolstra merged commit 8ef5c1c into 2.19-maintenance Jan 8, 2024
1 check passed
@edolstra edolstra deleted the backport-9687-to-2.19-maintenance branch March 29, 2024 15:17
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.

1 participant