diff options
author | eldritch horrors <pennae@lix.systems> | 2024-08-14 12:32:26 +0200 |
---|---|---|
committer | jade <lix@jade.fyi> | 2024-08-19 09:13:44 +0000 |
commit | b40369942cdb3e713c473515b9760f8a0d2ed3cc (patch) | |
tree | 8d49819ec6ddbc9d5dfef8aa6d04b8791e7b27e9 /src/libstore/build/worker.cc | |
parent | fca523d66126ea1df7c3eda9ab1a2c9b7b1c7ba5 (diff) |
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
Diffstat (limited to 'src/libstore/build/worker.cc')
-rw-r--r-- | src/libstore/build/worker.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index 325de3073..9740cdd4d 100644 --- a/src/libstore/build/worker.cc +++ b/src/libstore/build/worker.cc @@ -198,6 +198,7 @@ void Worker::handleWorkResult(GoalPtr goal, Goal::WorkResult how) dep->waiters.insert(goal); } }, + [&](Goal::WaitForWorld & w) { childStarted(goal, w.fds, w.inBuildSlot); }, [&](Goal::Finished & f) { goalFinished(goal, f); }, }, how |