aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/worker.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-07-20 21:05:19 +0200
committereldritch horrors <pennae@lix.systems>2024-07-22 19:01:40 +0000
commit20f53346df1e0150e4cbfd1b07023e511c277546 (patch)
treefcd8b1fc6cb35d831cfe245c8e5fb3e2b200121a /src/libstore/build/worker.hh
parent85e3b9b87141669801f8feac18b0e7e308619cce (diff)
libstore: remove unused Worker::waitForAnyGoal
Change-Id: Ia3ebd434b17052b6760ce74d8e20025a72148613
Diffstat (limited to 'src/libstore/build/worker.hh')
-rw-r--r--src/libstore/build/worker.hh11
1 files changed, 0 insertions, 11 deletions
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
@@ -91,11 +91,6 @@ private:
std::map<DrvOutput, std::weak_ptr<DrvOutputSubstitutionGoal>> drvOutputSubstitutionGoals;
/**
- * Goals waiting for busy paths to be unlocked.
- */
- WeakGoals waitingForAnyGoal;
-
- /**
* Goals sleeping for a few seconds (polling a lock).
*/
WeakGoals waitingForAWhile;
@@ -242,12 +237,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
* polling is inefficient, but POSIX doesn't really provide a way