edu.oswego.cs.dl.util.concurrent
Interface ThreadFactory
- public interface ThreadFactory
Interface describing any class that can generate
new Thread objects. Using ThreadFactories removes
hardwiring of calls to new Thread
, enabling
applications to use special thread subclasses, default
prioritization settings, etc.
[ Introduction to this package. ]
newThread
public Thread newThread(Runnable command)
- Create a new thread that will run the given command when started
Submit a bug or feature. Check the Colt home page for the latest news.