start

open fun start(task: Runnable, name: String)

Start a new thread with the given task.

Parameters

task

the runnable task to run on the new thread

name

the name of the thread to access it later and to log as


open fun start(task: Runnable)

Start a new thread with the given task. The thread name will be defined by the class of the Runnable.

Parameters

task

the runnable task to run on the new thread