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

Inner classes inherited from class uk.ac.man.cs.rainbow.simulator.Instruction
Instruction.MACRO
 
Constructor Summary
PutForward()
           
PutForward(RASMCode code)
           
 
Method Summary
protected  void definition(RASMCode code)
           
 String toString()
           
 
Methods inherited from class uk.ac.man.cs.rainbow.simulator.Instruction.MACRO
addSequence, execute, location
 
Methods inherited from class uk.ac.man.cs.rainbow.simulator.Instruction
addClass, getInstruction, getInstruction, getInstruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PutForward

public PutForward()

PutForward

public PutForward(RASMCode code)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

definition

protected void definition(RASMCode code)
Overrides:
definition in class Instruction.MACRO