parameters: (self)
docstring: Clean up any exited workers and start replacements for them.
docstring_summary: Clean up any exited workers and start replacements for them.
docstring_tokens: Clean up any exited workers and start replacements for them .
function: def _maintain_pool(self):
          """Clean up any exited workers and start replacements for them.
          """
          if self._join_exited_workers():
              self._repopulate_pool()
function_tokens: def _maintain_pool ( self ) : if self . _join_exited_workers ( ) : self . _repopulate_pool ( )