(self)
Prevents any more tasks from being submitted to the
        pool. Once all the tasks have been completed the worker
        processes will exit.
Prevents any more tasks from being submitted to the
        pool. Once all the tasks have been completed the worker
        processes will exit.
Prevents any more tasks from being submitted to the pool . Once all the tasks have been completed the worker processes will exit .
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
def close ( self ) : # No lock here. We assume it's sufficiently atomic... self . _closed = True