scalation.simulation.Coroutine
See theCoroutine companion object
abstract class Coroutine(label: String) extends Runnable
The Coroutine
class supports (one-at-a-time) quasi-concurrent programming. A coroutine runs/acts until it yields control from 'this' to 'that' coroutine. When resumed, a coroutines continues its execution where it left off.
Value parameters
- label
-
the label for the class of coroutines to be created.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Runnableclass Objecttrait Matchableclass Any
- Known subtypes
-
class SimAgentclass Customerclass Reporterclass Callclass Carclass Carclass Busclass Gateclass Sourceclass Modelclass BankModelclass CallCenterModelclass EmerDeptModelclass LoopModelclass MachineModelclass OneWayStreetModelclass OneWayVehicleModelclass RoadModelclass TrafficDynModelclass TrafficLaneChangeModelclass TrafficModelclass TrafficModelTurnclass UGA_BusModelclass BankModelclass Model_MBMclass BankModelclass SimActorclass Customerclass Callclass Patientclass Car1class Car2class Partclass Carclass Car1class Car2class Carclass Carclass Carclass Carclass Riderclass Customerclass Customerclass Busclass UGA_Busclass Gateclass Sourceclass VSourceclass Vehicleclass Carclass Cor1class Cor2
Members list
In this article