BasicThreadFactory

constructor(isDaemon: Boolean = false, priority: Int = -1)

Parameters

isDaemon

Whether newThread should create a daemon thread.

priority

The priority of a thread created by newThread.