parameters: (self)
docstring: Stop reader thread only, wait for clean exit of thread
docstring_summary: Stop reader thread only, wait for clean exit of thread
docstring_tokens: Stop reader thread only wait for clean exit of thread
function: def _stop_reader(self):
          """Stop reader thread only, wait for clean exit of thread"""
          self._reader_alive = False
          if hasattr(self.serial, 'cancel_read'):
              self.serial.cancel_read()
          self.receiver_thread.join()
function_tokens: def _stop_reader ( self ) : self . _reader_alive = False if hasattr ( self . serial , 'cancel_read' ) : self . serial . cancel_read ( ) self . receiver_thread . join ( )