summaryrefslogtreecommitdiff
path: root/src/buildstream/_scheduler
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-07-05 15:47:18 +0100
committerAngelos Evripiotis <angelos.evripiotis@gmail.com>2019-07-09 20:48:09 +0000
commita8a779f2e0443bc52f478bc83dbb2f76ed1e4370 (patch)
treeddb8390a4197772fc18f21930ba799221433b811 /src/buildstream/_scheduler
parentbe76fb4deeedfaf0ea91742a5bfd83090208a700 (diff)
downloadbuildstream-a8a779f2e0443bc52f478bc83dbb2f76ed1e4370.tar.gz
scheduler: rm unused _exclusive_* members
The {,un}register_exclusive_interest() mechanism is used for this now.
Diffstat (limited to 'src/buildstream/_scheduler')
-rw-r--r--src/buildstream/_scheduler/scheduler.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/buildstream/_scheduler/scheduler.py b/src/buildstream/_scheduler/scheduler.py
index d2ea2741e..00d61140e 100644
--- a/src/buildstream/_scheduler/scheduler.py
+++ b/src/buildstream/_scheduler/scheduler.py
@@ -103,15 +103,6 @@ class Scheduler():
self._interrupt_callback = interrupt_callback
self._ticker_callback = ticker_callback
- # Whether our exclusive jobs, like 'cleanup' are currently already
- # waiting or active.
- #
- # This is just a bit quicker than scanning the wait queue and active
- # queue and comparing job action names.
- #
- self._exclusive_waiting = set()
- self._exclusive_active = set()
-
self.resources = Resources(context.sched_builders,
context.sched_fetchers,
context.sched_pushers)