From 20f53346df1e0150e4cbfd1b07023e511c277546 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sat, 20 Jul 2024 21:05:19 +0200 Subject: libstore: remove unused Worker::waitForAnyGoal Change-Id: Ia3ebd434b17052b6760ce74d8e20025a72148613 --- src/libstore/build/worker.hh | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/libstore/build/worker.hh') diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index e1d8e5031..fbb5ad6ec 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -90,11 +90,6 @@ private: std::map> substitutionGoals; std::map> drvOutputSubstitutionGoals; - /** - * Goals waiting for busy paths to be unlocked. - */ - WeakGoals waitingForAnyGoal; - /** * Goals sleeping for a few seconds (polling a lock). */ @@ -241,12 +236,6 @@ public: */ void waitForBuildSlot(GoalPtr goal); - /** - * Wait for any goal to finish. Pretty indiscriminate way to - * wait for some resource that some other goal is holding. - */ - void waitForAnyGoal(GoalPtr goal); - /** * Wait for a few seconds and then retry this goal. Used when * waiting for a lock held by another process. This kind of -- cgit v1.2.3