newThread

abstract fun newThread(r: Runnable): Job

Constructs a new unstarted Thread to run the given runnable.

Return

constructed thread, or null if the request to create a thread is rejected

Parameters

r

a runnable to be executed by new thread instance

See also

../../lang/Thread.html.inheritance