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.hh | |
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.hh')
-rw-r--r-- | src/libstore/build/worker.hh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index 406bf205d..7abb966f9 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -157,6 +157,13 @@ private: */ void removeGoal(GoalPtr goal); + /** + * Registers a running child process. `inBuildSlot` means that + * the process counts towards the jobs limit. + */ + void childStarted(GoalPtr goal, const std::set<int> & fds, + bool inBuildSlot); + public: const Activity act; @@ -229,13 +236,6 @@ public: GoalPtr makeGoal(const DerivedPath & req, BuildMode buildMode = bmNormal); /** - * Registers a running child process. `inBuildSlot` means that - * the process counts towards the jobs limit. - */ - void childStarted(GoalPtr goal, const std::set<int> & fds, - bool inBuildSlot); - - /** * Unregisters a running child process. */ void childTerminated(Goal * goal); |