summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-09-02 12:22:51 +0200
committerJürg Billeter <j@bitron.ch>2019-09-03 11:17:28 +0200
commitab56feac81b780f4e35f3c7c96efaa73007a59b6 (patch)
tree595cf51cb9ba2174d5c63dce7a5d26ee24f75342
parent312f7081bb5ec48b8405c0256429c2e153138185 (diff)
downloadbuildstream-ab56feac81b780f4e35f3c7c96efaa73007a59b6.tar.gz
_context.py: Remove unused disable_fork() method
-rw-r--r--src/buildstream/_context.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/buildstream/_context.py b/src/buildstream/_context.py
index fa59b0109..ecdf6f97b 100644
--- a/src/buildstream/_context.py
+++ b/src/buildstream/_context.py
@@ -150,8 +150,6 @@ class Context():
# Whether file contents are required for all artifacts in the local cache
self.require_artifact_files = True
- self.fork_allowed = True
-
# Whether elements must be rebuilt when their dependencies have changed
self._strict_build_plan = None
@@ -506,16 +504,6 @@ class Context():
self._cascache = CASCache(self.cachedir, cache_quota=self.config_cache_quota)
return self._cascache
- # disable_fork():
- #
- # This will prevent the scheduler from running but will allow communication
- # with casd in the main process.
- #
- def disable_fork(self):
- self.fork_allowed = False
- cascache = self.get_cascache()
- cascache.notify_fork_disabled()
-
# is_fork_allowed():
#
# Return whether fork without exec is allowed. This is a safeguard against