parameters: (self)
docstring: Stops the I/O thread from communicating with the subprocess.
docstring_summary: Stops the I/O thread from communicating with the subprocess.
docstring_tokens: Stops the I / O thread from communicating with the subprocess .
function: def _stop_communicating(self):
          """
          Stops the I/O thread from communicating with the subprocess.
          """
          if not self._quit:
              self._quit = True
              with self._lock:
                  self._lock.notify()
                  self._lock.wait()
function_tokens: def _stop_communicating ( self ) : if not self . _quit : self . _quit = True with self . _lock : self . _lock . notify ( ) self . _lock . wait ( )