BackgroundThreadFactory

class BackgroundThreadFactory @JvmOverloads constructor(threadPriority: Int = DEFAULT_THREAD_PRIORITY, threadNamePrefix: String = DEFAULT_THREAD_NAME) : ThreadFactory

Implementation of ThreadFactory that allows to specify priority of threads.

Constructors

Link copied to clipboard
constructor(threadPriority: Int = DEFAULT_THREAD_PRIORITY, threadNamePrefix: String = DEFAULT_THREAD_NAME)

Types

Link copied to clipboard
object Companion

Functions

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