From b40369942cdb3e713c473515b9760f8a0d2ed3cc Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Wed, 14 Aug 2024 12:32:26 +0200 Subject: libstore: make Worker::childStarted private this can be a proper WorkResult now. childTerminated is unfortunately a lot more stubborn and won't be made private for quite a while yet. once we can get rid of the Worker poll loop that *should* be possible though Change-Id: I2218df202da5cb84e852f6a37e4c20367495b617 --- src/libstore/build/goal.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libstore/build/goal.hh') diff --git a/src/libstore/build/goal.hh b/src/libstore/build/goal.hh index 114abda41..2ac96ace1 100644 --- a/src/libstore/build/goal.hh +++ b/src/libstore/build/goal.hh @@ -112,6 +112,10 @@ public: struct [[nodiscard]] WaitForGoals { Goals goals; }; + struct [[nodiscard]] WaitForWorld { + std::set fds; + bool inBuildSlot; + }; struct [[nodiscard]] Finished { ExitCode result; std::unique_ptr ex; @@ -127,6 +131,7 @@ public: WaitForAWhile, ContinueImmediately, WaitForGoals, + WaitForWorld, Finished> { WorkResult() = delete; -- cgit v1.2.3