SimpleThreadFactory

A ThreadFactory that creates Threads named with a prefix, a dash, and a practically unique counter.

Parameters

prefix

The base prefix to prepend to the counter to create Thread names.

Constructors

Link copied to clipboard
constructor(prefix: String)

Construct a SimpleThreadFactory.

Functions

Link copied to clipboard
open override fun newThread(runnable: Runnable): Thread