uk.ac.man.cs.rainbow.simulator
Class RASM.Sleep
java.lang.Object
|
+--uk.ac.man.cs.rainbow.simulator.Instruction
|
+--uk.ac.man.cs.rainbow.simulator.RASM.Sleep
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- RASM
Deprecated. Use Sleep
- public static class RASM.Sleep
- extends Instruction
Cause the thread to become descheduled until something happens.
Typically, the thread is woken by another thread attempting to
interact with it. Any event, even a spurious one, can cause the
thread to be woken, so care is required after this to see if
there really is anything to do.
-
-
- See Also:
RASM.Delay
, Serialized Form
RASM.Sleep
public RASM.Sleep()
- Deprecated.
RASM.Sleep
public RASM.Sleep(RASMCode code)
- Deprecated.
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class Object
execute
protected boolean execute(RASMThread thread)
- Deprecated.
- Description copied from class:
Instruction
- Make this instruction execute in the given context.
- Overrides:
execute
in class Instruction
- Following copied from class:
uk.ac.man.cs.rainbow.simulator.Instruction
- Throws:
RainbowException
- All sorts of things can go wrong during execution...