scalation.process

CoroutineT

abstract class CoroutineT extends Thread

The CoroutineT class supports quasi-concurrent programming. A coroutine runs/acts until it yields control to some other coroutine. When resumed, a coroutines continues execution where it left off.

Linear Supertypes
Thread, Runnable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CoroutineT
  2. Thread
  3. Runnable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CoroutineT()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. final def checkAccess(): Unit

    Definition Classes
    Thread
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    Thread → AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def getContextClassLoader(): ClassLoader

    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  12. def getId(): Long

    Definition Classes
    Thread
  13. final def getName(): String

    Definition Classes
    Thread
  14. final def getPriority(): Int

    Definition Classes
    Thread
  15. def getStackTrace(): Array[StackTraceElement]

    Definition Classes
    Thread
  16. def getState(): State

    Definition Classes
    Thread
  17. final def getThreadGroup(): ThreadGroup

    Definition Classes
    Thread
  18. def getUncaughtExceptionHandler(): UncaughtExceptionHandler

    Definition Classes
    Thread
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def interrupt(): Unit

    Definition Classes
    Thread
  21. final def isAlive(): Boolean

    Definition Classes
    Thread
  22. final def isDaemon(): Boolean

    Definition Classes
    Thread
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isInterrupted(): Boolean

    Definition Classes
    Thread
  25. final def join(): Unit

    Definition Classes
    Thread
    Annotations
    @throws( ... )
  26. final def join(arg0: Long, arg1: Int): Unit

    Definition Classes
    Thread
    Annotations
    @throws( ... )
  27. final def join(arg0: Long): Unit

    Definition Classes
    Thread
    Annotations
    @throws( ... )
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def rresume(): Unit

    Resume this coroutine.

  32. def run(): Unit

    Definition Classes
    Thread → Runnable
  33. def setContextClassLoader(arg0: ClassLoader): Unit

    Definition Classes
    Thread
  34. final def setDaemon(arg0: Boolean): Unit

    Definition Classes
    Thread
  35. final def setName(arg0: String): Unit

    Definition Classes
    Thread
  36. final def setPriority(arg0: Int): Unit

    Definition Classes
    Thread
  37. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit

    Definition Classes
    Thread
  38. def start(): Unit

    Start this coroutine, i.

    Start this coroutine, i.e., invoke its 'run' method.

    Definition Classes
    CoroutineT → Thread
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def toString(): String

    Definition Classes
    Thread → AnyRef → Any
  41. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def yyield(other: CoroutineT, quit: Boolean = false): Unit

    Yield control to the 'other' coroutine.

    Yield control to the 'other' coroutine.

    other

    the other coroutine to yield control to

    quit

    whether to wait via a receive or quit via exit

Deprecated Value Members

  1. def countStackFrames(): Int

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def destroy(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def resume(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. final def stop(arg0: Throwable): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. final def stop(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  6. final def suspend(): Unit

    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Thread

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped