Skip to content

Comments

Use coroutines for worker child I/O#14801

Merged
Ericson2314 merged 2 commits intomasterfrom
coroutine-child-output-0
Dec 15, 2025
Merged

Use coroutines for worker child I/O#14801
Ericson2314 merged 2 commits intomasterfrom
coroutine-child-output-0

Conversation

@Ericson2314
Copy link
Member

Motivation

This will enable way more RAII going forward.

Context

That is done in #14788.


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

This tidies things up in general, but also prepares the way for the next
commit in particular.
This will enable way more RAII going forward.
} else if (std::get_if<ChildEOF>(&event)) {
break;
} else if (std::get_if<TimedOut>(&event)) {
unreachable();
Copy link
Contributor

Choose a reason for hiding this comment

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

Why unreachable?

@Ericson2314 Ericson2314 added this pull request to the merge queue Dec 15, 2025
Merged via the queue into master with commit df75422 Dec 15, 2025
20 checks passed
@Ericson2314 Ericson2314 deleted the coroutine-child-output-0 branch December 15, 2025 21:59
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.

2 participants