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

Inner classes inherited from class uk.ac.man.cs.rainbow.simulator.Instruction
Instruction.MACRO
 
Constructor Summary
RASM.WaitGet()
          Deprecated.  
RASM.WaitGet(RASMCode code)
          Deprecated.  
 
Method Summary
protected  void addSequence(RASMCode code)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class uk.ac.man.cs.rainbow.simulator.Instruction.MACRO
definition, 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

RASM.WaitGet

public RASM.WaitGet()
Deprecated. 

RASM.WaitGet

public RASM.WaitGet(RASMCode code)
Deprecated. 
Method Detail

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

addSequence

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