public interface HjSuspendable
Runnable
class for Habanero-Java. An implementing class
must define a method of no arguments called run()
. The SuspendableException
is never thrown, it is a
marker on the run method to signify that executing this method may dynamically encounter a suspending condition.Modifier and Type | Method and Description |
---|---|
void |
run()
The general contract of the method
run is that it may take any action whatsoever. |
void run() throws SuspendableException
run
is that it may take any action whatsoever. The SuspendableException
is never thrown, it is a marker on the run method to signify that executing this method may
dynamically encounter a suspending condition.SuspendableException
- to mark that the body contains a suspendable condition.Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.