Packages

p

spinal.core

fiber

package fiber

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fiber
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AsyncThread extends Nameable
  2. class EngineContext extends AnyRef
  3. class Fiber extends Area
  4. class Handle[T] extends Nameable with OverridedEqualsHashCode

    Fiber synchronization primitive that can be used later to store a value of type T.

    Fiber synchronization primitive that can be used later to store a value of type T.

    It can be created with:

    • a type: val a = Handle[Int])
    • a lambda executed in a new task: val a = Handle{otherHandle.get + 1}
    See also

    Fiber documentation

  5. class HardForkApi extends AnyRef
  6. case class Lock() extends Handle[Int] with Product with Serializable
  7. trait Lockable extends Area
  8. case class Retainer() extends Area with Product with Serializable
  9. class RetainerGroup extends Area
  10. class RetainerHold extends Handle[Unit]
  11. class Unset extends AnyRef

Value Members

  1. def hardFork[T](body: ⇒ T): Handle[T]
  2. def hardFork: HardForkApi
  3. def hardForkRaw[T](withDep: Boolean = true)(body: ⇒ T): (Handle[T], AsyncThread)
  4. def hardForkRawHandle[T](withDep: Boolean = true)(body: (Handle[T]) ⇒ T): (Handle[T], AsyncThread)
  5. def soon(that: Handle[_], others: Handle[_]*): Unit

    Specify in advance that the current task will use a Handle

    Specify in advance that the current task will use a Handle

    See also

    Fiber documentation

  6. def soon(that: Seq[Handle[_]]): Unit

    Specify in advance that the current task will use a Handle

    Specify in advance that the current task will use a Handle

    See also

    Fiber documentation

  7. object AsyncThread
  8. object ElabDemo extends App
  9. object ElabOrderId
  10. object Engine extends ScopeProperty[EngineContext]
  11. object Fiber
  12. object Handle
  13. object RetainerGroup
  14. object Test1 extends App
  15. object Test2 extends App
  16. object Test3 extends App
  17. object Unset extends Unset

Inherited from AnyRef

Inherited from Any

Ungrouped