uk.ac.man.cs.rainbow.simulator
Class RASM.WaitGet
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.WaitGet
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- RASM
Deprecated. Use WaitGet
- public static class RASM.WaitGet
- extends Instruction.MACRO
Wait for channel to become readable, and then read it.
Waits until a value is available on input channel
chanId and then reads that value from the channel
(i.e. a waitFor followed by a get.) The
channel will need to be released separately for a
complete transaction on the channel to occur. This instruction
is simulated by a call to __MACROS__::waitGet
chanId
value
- See Also:
RASM.IsAvailable
,
RASM.Sleep
,
RASM.Get
,
RASM.WaitFor
,
RASM.Read
,
RASM.Release
, Serialized Form
RASM.WaitGet
public RASM.WaitGet()
- Deprecated.
RASM.WaitGet
public RASM.WaitGet(RASMCode code)
- Deprecated.
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class Object
addSequence
protected void addSequence(RASMCode code)
- Deprecated.
- Overrides:
addSequence
in class Instruction.MACRO