summaryrefslogtreecommitdiff
path: root/src/buildstream/node.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/node.pyx')
-rw-r--r--src/buildstream/node.pyx27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/buildstream/node.pyx b/src/buildstream/node.pyx
index 32b8c130c..394138311 100644
--- a/src/buildstream/node.pyx
+++ b/src/buildstream/node.pyx
@@ -1608,33 +1608,6 @@ def _reset_global_state():
__counter = 0
-# _get_state_for_pickling()
-#
-# This gets the global variables necessary to preserve in a child process when
-# e.g. running a ChildJob. Things that are pickled from the parent process to
-# the child process will expect this module to be in the same state as in the
-# parent.
-#
-# Returns:
-# (object): The state to supply to a call of _get_state_for_pickling().
-#
-def _get_state_for_pickling():
- return __FILE_LIST, __counter
-
-
-# _set_state_from_pickling()
-#
-# This restores the global variables saved from _get_state_for_pickling(). See
-# that function for more details.
-#
-# Args:
-# state (object): The result of calling _get_state_for_pickling().
-#
-def _set_state_from_pickling(state):
- global __FILE_LIST, __counter
- __FILE_LIST, __counter = state
-
-
#############################################################
# Module local helper Methods #
#############################################################