Class DaemonThreadFactory
java.lang.Object
VASSAL.tools.concurrent.DaemonThreadFactory
- All Implemented Interfaces:
ThreadFactory
A thread factory which creates daemon threads. Running daemon threads,
unlike regular threads, do not prevent the application from shutting down.
- Since:
- 3.2.0
- Author:
- Joel Uckelman
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
id
-
basename
-
-
Constructor Details
-
DaemonThreadFactory
Creates a thread factory.- Parameters:
basename
- the base name to use for threads created by this factory
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-