uk.ac.man.cs.rainbow.simulator.rasm
Class PutForward
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.PutForward
- All Implemented Interfaces:
- Serializable
- public class PutForward
- extends Instruction.MACRO
First half of a channel write.
Like a write except in that a waitRelease
is not performed, making this a non-blocking, non-rescheduling
operation (i.e. multiple putForward instructions with no
other communications or sleeps between them will have
their actions happen at the same time.) This instruction is
simulated by a call to __MACROS__::putForward
value chanId -
- See Also:
RASM.Put
,
RASM.SignalForward
,
RASM.Write
,
RASM.WaitRelease
, Serialized Form
PutForward
public PutForward()
PutForward
public PutForward(RASMCode code)
toString
public String toString()
- Overrides:
toString
in class Object
definition
protected void definition(RASMCode code)
- Overrides:
definition
in class Instruction.MACRO