parameters: (self)
docstring: Remove Thread objects from the snapshot
          referring to threads no longer running.
docstring_summary: Remove Thread objects from the snapshot
          referring to threads no longer running.
docstring_tokens: Remove Thread objects from the snapshot referring to threads no longer running .
function: def clear_dead_threads(self):
          """
          Remove Thread objects from the snapshot
          referring to threads no longer running.
          """
          for tid in self.get_thread_ids():
              aThread = self.get_thread(tid)
              if not aThread.is_alive():
                  self._del_thread(aThread)
function_tokens: def clear_dead_threads ( self ) : for tid in self . get_thread_ids ( ) : aThread = self . get_thread ( tid ) if not aThread . is_alive ( ) : self . _del_thread ( aThread )