(self)
A context manager that allows calls to be offloaded to this executor.
A context manager that allows calls to be offloaded to this executor.
A context manager that allows calls to be offloaded to this executor .
def execution_context(self):
    """A context manager that allows calls to be offloaded to this executor."""
    self._check_not_terminated()
    with self._lock_if_necessary:
      self._locked += 1
      yield self
      self._locked -= 1
def execution_context ( self ) : self . _check_not_terminated ( ) with self . _lock_if_necessary : self . _locked += 1 yield self self . _locked -= 1