Scoop API

scoop:scoop.platform:0.1.0

Thread

class Thread

source · line 62
public
public class Thread private constructor(private val completion: ThreadCompletion) : Disposable

An owned native thread running a managed non-suspending function. Join or dispose to observe completion and any captured exception.

function join

source · line 102
public
public fun join(): Unit

Waits for native termination and rethrows a captured function exception. Subsequent joins retain the same completion outcome.

function dispose

source · line 120
public
public override fun dispose(): Unit

Joins an outstanding thread and releases its native join handle.