- All Implemented Interfaces:
- public class 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:
Delay, Serialized Form
public Sleep(RASMCode code)
public String toString()
toString in class
protected boolean execute(RASMThread thread)
- Description copied from class:
- Make this instruction execute in the given context.
execute in class
- Following copied from class:
RainbowException - All sorts of things can go wrong during execution...