Engine

turbolift.internals.engine.Engine
abstract class Engine

Attributes

Graph
Supertypes
trait Runnable
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(fiber: FiberImpl)

Concrete methods

final def become(fiber: FiberImpl): Unit
final def becomeClear(): Unit
final def getCurrentFiber: FiberImpl
final def intrinsicAbort(prompt: Prompt, value: Any): Tag
final def intrinsicAcquireMutex(mutex: Mutex): Tag
final def intrinsicAcquireSemaphore(semaphore: Semaphore, count: Long): Tag
final def intrinsicAsync[A](callback: ((Either[Throwable, A]) => Unit) => Unit): Tag
final def intrinsicAwaitEffectfulVar[A, U <: IO](evar0: Get[A, U]): Tag
final def intrinsicAwaitFiber[A, U](fiber: Untyped, isCancel: Boolean, isVoid: Boolean): Tag
final def intrinsicAwaitOnceVar[A](ovar0: Get[A]): Tag
final def intrinsicAwaitWarp(warp0: Warp, isCancel: Boolean): Tag
final def intrinsicBlocking[A, B](thunk: () => A, isAttempt: Boolean): Tag
final def intrinsicCapture[A, B, C, S, U, V](prompt: Prompt, fun: (Continuation[A, B, S, U]) => Computation[C, V], truncate: Boolean): Tag
final def intrinsicCaptureGet[A, B, C, S, U, V](prompt: Prompt, fun: (Continuation[A, B, S, U], S) => Computation[C, V], truncate: Boolean): Tag
final def intrinsicCurrentFiber(): Tag
final def intrinsicDelimitMod[S](prompt: Prompt, body: AnyComp, fun: S => S): Tag
final def intrinsicDelimitPut[S](prompt: Prompt, body: AnyComp, local: S): Tag
final def intrinsicEnvAsk[A](fun: Env => A): Tag
final def intrinsicEnvMod[A, U](fun: Env => Env, body: Computation[A, U]): Tag
final def intrinsicExecOn[A, U](exec: Executor, body: Computation[A, U]): Tag
final def intrinsicForkFiber[A, U](warp0: Warp | Null, comp: Computation[A, U], name: String, callback: (Untyped => Unit) | Null): Tag
final def intrinsicGetChannel[A](channel: Get[A]): Tag
final def intrinsicHandle(body: AnyComp, prompt: Prompt, initial: Any): Tag
final def intrinsicOrPar[A, U](lhs: Computation[A, U], rhs: Computation[A, U]): Tag
final def intrinsicOrSeq[A, U](lhs: Computation[A, U], rhsFun: () => Computation[A, U]): Tag
final def intrinsicPutChannel[A](channel: Put[A], value: A): Tag
final def intrinsicReinterpret[A, U, V](body: Computation[A, U & V]): Tag
final def intrinsicResume[A, B, S, U](cont0: Continuation[A, B, S, U], value: A): Tag
final def intrinsicResumePut[A, B, S, U](cont0: Continuation[A, B, S, U], value: A, local: S): Tag
final def intrinsicShadow[A, U](prompt: Prompt, body: Computation[A, U]): Tag
final def intrinsicSleep(length: Long, unit: TimeUnit): Tag
final def intrinsicSnap[A, U](body: Computation[A, U]): Tag
final def intrinsicSpawnWarp[A, U](exitMode: ExitMode, body: Computation[A, U & Warp], name: String): Tag
final def intrinsicSuppress[A, U](body: Computation[A, U], delta: Int): Tag
final def intrinsicUnsnap[A, U](snap: Snap[A]): Tag
final def intrinsicYield: Tag
final def intrinsicZipPar[A, B, C, U](lhs: Computation[A, U], rhs: Computation[B, U], fun: (A, B) => C): Tag
final def runCurrent(): Halt

Inherited and Abstract methods

def run(): Unit

Attributes

Inherited from:
Runnable

Concrete fields

protected val pad1: Long
protected val pad2: Long
protected var savedPayload: Any
protected var savedStack: Stack
protected var savedStep: Step
protected var savedStore: Store

Inherited fields

protected var currentEnv: Env

Attributes

Inherited from:
Engine0 (hidden)
protected var currentFiber: FiberImpl

Attributes

Inherited from:
Engine0 (hidden)
protected var currentTickHigh: Int

Attributes

Inherited from:
Engine0 (hidden)
protected var currentTickLow: Int

Attributes

Inherited from:
Engine0 (hidden)