parameters: (self)
docstring: thread routine of the process monitor. NOTE: you must still
          call mainthread_spin or mainthread_spin_once() from the main
          thread in order to pick up main thread work from the process
          monitor.
docstring_summary: thread routine of the process monitor. NOTE: you must still
          call mainthread_spin or mainthread_spin_once() from the main
          thread in order to pick up main thread work from the process
          monitor.
docstring_tokens: thread routine of the process monitor . NOTE : you must still call mainthread_spin or mainthread_spin_once () from the main thread in order to pick up main thread work from the process monitor .
function: def run(self):
          """
          thread routine of the process monitor. NOTE: you must still
          call mainthread_spin or mainthread_spin_once() from the main
          thread in order to pick up main thread work from the process
          monitor.
          """
          try:
              #don't let exceptions bomb thread, interferes with exit
              try:
                  self._run()
              except:
                  logger.error(traceback.format_exc())
                  traceback.print_exc()
          finally:
              self._post_run()
function_tokens: def run ( self ) : try : #don't let exceptions bomb thread, interferes with exit try : self . _run ( ) except : logger . error ( traceback . format_exc ( ) ) traceback . print_exc ( ) finally : self . _post_run ( )