Home | History | Annotate | Download | only in thread
      1 package org.testng.internal.thread;
      2 
      3 import java.util.List;
      4 
      5 /**
      6  * Reduced interface to mimic ThreadFactory.
      7  *
      8  * @author <a href='mailto:the_mindstorm (at) evolva.ro'>Alexandru Popescu</a>
      9  * @version $Revision$
     10  */
     11 public interface IThreadFactory {
     12    Thread newThread(Runnable run);
     13 
     14    Object getThreadFactory();
     15 
     16    List<Thread> getThreads();
     17 }
     18