parameters: (self)
docstring: Prevents any more tasks from being submitted to the
          pool. Once all the tasks have been completed the worker
          processes will exit.
docstring_summary: Prevents any more tasks from being submitted to the
          pool. Once all the tasks have been completed the worker
          processes will exit.
docstring_tokens: Prevents any more tasks from being submitted to the pool . Once all the tasks have been completed the worker processes will exit .
function: def close(self):
          """Prevents any more tasks from being submitted to the
          pool. Once all the tasks have been completed the worker
          processes will exit."""
          # No lock here. We assume it's sufficiently atomic...
          self._closed = True
function_tokens: def close ( self ) : # No lock here. We assume it's sufficiently atomic... self . _closed = True