uk.ac.man.cs.rainbow.simulator.rasm
Class WaitFor
java.lang.Object
|
+--uk.ac.man.cs.rainbow.simulator.Instruction
|
+--uk.ac.man.cs.rainbow.simulator.Instruction.MACRO
|
+--uk.ac.man.cs.rainbow.simulator.rasm.WaitFor
- All Implemented Interfaces:
- Serializable
- public class WaitFor
- extends Instruction.MACRO
Wait for channel to become readable.
Waits until a value is available on input channel
chanId. This instruction is simulated by a call to
__MACROS__::waitFor
chanId
-
- See Also:
IsAvailable
,
Sleep
,
WaitGet
, Serialized Form
WaitFor
public WaitFor()
WaitFor
public WaitFor(RASMCode code)
toString
public String toString()
- Overrides:
toString
in class Object
definition
protected void definition(RASMCode code)
- Overrides:
definition
in class Instruction.MACRO