NamedThreadFactory

class NamedThreadFactory(threadNamePrefix: String?) : ThreadFactory

A default ThreadFactory implementation that accepts the name prefix of the created threads as a constructor argument. Otherwise, this factory yields the same semantics as the thread factory returned by Executors.defaultThreadFactory.

Constructors

Link copied to clipboard
constructor(threadNamePrefix: String?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun newThread(r: Runnable): Job

Creates a new Thread