
V - The return type of the call.public interface HjSuspendingCallable<V>
Callable class for Habanero-Java. This interface is designed
to provide a common protocol for objects that wish to execute (possibly thread-blocking) code while they are active.
An implementing class must define a method of no arguments called call().| Modifier and Type | Method and Description |
|---|---|
V |
call()
Computes a result, or throws an exception if unable to do so.
|
V call() throws SuspendableException
SuspendableException - to mark that the body contains a suspendable condition.Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.