public void addThread(final TargetProcessThread thread){
  Preconditions.checkNotNull(thread,"IE00766: Thread argument can not be null");
  activeProcessThreads.add(thread);
  for (  final ProcessManagerListener listener : listeners) {
    try {
      listener.addedThread(thread);
    }
 catch (    final Exception exception) {
      CUtilityFunctions.logException(exception);
    }
  }
}

public void addThread ( final TargetProcessThread thread ) { Preconditions . checkNotNull ( thread , "IE00766: Thread argument can not be null" ) ; activeProcessThreads . add ( thread ) ; for ( final ProcessManagerListener listener : listeners ) { try { listener . addedThread ( thread ) ; } catch ( final Exception exception ) { CUtilityFunctions . logException ( exception ) ; } } }
adds a new thread to the known threads of the target process .
