Class DaemonThreadFactory

java.lang.Object
VASSAL.tools.concurrent.DaemonThreadFactory
All Implemented Interfaces:
ThreadFactory

public class DaemonThreadFactory extends Object implements 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 Details

  • Constructor Details

    • DaemonThreadFactory

      public DaemonThreadFactory(String basename)
      Creates a thread factory.
      Parameters:
      basename - the base name to use for threads created by this factory
  • Method Details