parameters: (self, aThread)
docstring: Private method to add a thread object to the snapshot.
  
          @type  aThread: L{Thread}
          @param aThread: Thread object.
docstring_summary: Private method to add a thread object to the snapshot.
docstring_tokens: Private method to add a thread object to the snapshot .
function: def _add_thread(self, aThread):
          """
          Private method to add a thread object to the snapshot.
  
          @type  aThread: L{Thread}
          @param aThread: Thread object.
          """
  ##        if not isinstance(aThread, Thread):
  ##            if hasattr(aThread, '__class__'):
  ##                typename = aThread.__class__.__name__
  ##            else:
  ##                typename = str(type(aThread))
  ##            msg = "Expected Thread, got %s instead" % typename
  ##            raise TypeError(msg)
          dwThreadId = aThread.dwThreadId
  ##        if dwThreadId in self.__threadDict:
  ##            msg = "Already have a Thread object with ID %d" % dwThreadId
  ##            raise KeyError(msg)
          aThread.set_process(self)
          self.__threadDict[dwThreadId] = aThread
function_tokens: def _add_thread ( self , aThread ) : ##        if not isinstance(aThread, Thread): ##            if hasattr(aThread, '__class__'): ##                typename = aThread.__class__.__name__ ##            else: ##                typename = str(type(aThread)) ##            msg = "Expected Thread, got %s instead" % typename ##            raise TypeError(msg) dwThreadId = aThread . dwThreadId ##        if dwThreadId in self.__threadDict: ##            msg = "Already have a Thread object with ID %d" % dwThreadId ##            raise KeyError(msg) aThread . set_process ( self ) self . __threadDict [ dwThreadId ] = aThread