parameters: (self)
docstring: Stop the EventProcessor thread if it is running.
  
          :return:
docstring_summary: Stop the EventProcessor thread if it is running.
docstring_tokens: Stop the EventProcessor thread if it is running .
function: def stop_event_processor(self):
          """
          Stop the EventProcessor thread if it is running.
  
          :return:
          """
          if self.event_observer_thread:
              self._log("EventMonitorManager stopping EventProcessor thread...")
  
              self._log("Sending thread EventProcessor abort signal")
              self.event_observer_thread.stop()
  
              self._log("Waiting for thread EventProcessor to stop")
              self.event_observer_thread.join()
              self._log("Thread EventProcessor has successfully stopped")
          else:
              self._log("Given signal to stop the EventProcessor thread, but it is not running...")
  
          self.event_observer_thread = None
function_tokens: def stop_event_processor ( self ) : if self . event_observer_thread : self . _log ( "EventMonitorManager stopping EventProcessor thread..." ) self . _log ( "Sending thread EventProcessor abort signal" ) self . event_observer_thread . stop ( ) self . _log ( "Waiting for thread EventProcessor to stop" ) self . event_observer_thread . join ( ) self . _log ( "Thread EventProcessor has successfully stopped" ) else : self . _log ( "Given signal to stop the EventProcessor thread, but it is not running..." ) self . event_observer_thread = None