AvailThread

class AvailThread : Thread

An AvailThread is a thread managed by a particular Avail runtime. Instances may obtain the managing runtime through the static accessor AvailRuntime.currentRuntime. New instances will be created as necessary by an Avail runtime's executor.

Author

Todd L Smith

Parameters

runnable

The Runnable runnable that the new thread should execute.

interpreter

The Interpreter that this thread will temporarily bind to fibers while they are running in this thread.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun checkAccess()
Link copied to clipboard
open fun clone(): Any
Link copied to clipboard
open fun countStackFrames(): Int
Link copied to clipboard
open fun getContextClassLoader(): ClassLoader
Link copied to clipboard
open fun getId(): Long
Link copied to clipboard
fun getName(): String
Link copied to clipboard
fun getPriority(): Int
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
open fun getState(): Thread.State
Link copied to clipboard
fun getThreadGroup(): ThreadGroup
Link copied to clipboard
open fun getUncaughtExceptionHandler(): Thread.UncaughtExceptionHandler
Link copied to clipboard
open fun interrupt()
Link copied to clipboard
fun isAlive(): Boolean
Link copied to clipboard
fun isDaemon(): Boolean
Link copied to clipboard
open fun isInterrupted(): Boolean
Link copied to clipboard
fun join()
fun join(p0: Long)
fun join(p0: Long, p1: Int)
Link copied to clipboard
fun resume()
Link copied to clipboard
open override fun run()
Link copied to clipboard
open fun setContextClassLoader(p0: ClassLoader)
Link copied to clipboard
fun setDaemon(p0: Boolean)
Link copied to clipboard
fun setName(p0: String)
Link copied to clipboard
fun setPriority(p0: Int)
Link copied to clipboard
open fun setUncaughtExceptionHandler(p0: Thread.UncaughtExceptionHandler)
Link copied to clipboard
open fun start()
Link copied to clipboard
fun stop()
Link copied to clipboard
fun suspend()
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val inheritableThreadLocals: ThreadLocal.ThreadLocalMap
Link copied to clipboard
val interpreter: Interpreter

The interpreter permanently bound to this thread.

Link copied to clipboard
val parkBlocker: Any
Link copied to clipboard
val runtime: AvailRuntime

The Avail runtime that owns this thread.

Link copied to clipboard
val threadLocalRandomProbe: Int
Link copied to clipboard
val threadLocalRandomSecondarySeed: Int
Link copied to clipboard
val threadLocalRandomSeed: Long
Link copied to clipboard
val threadLocals: ThreadLocal.ThreadLocalMap