*/
public native void execute() throws HostFailureException,TaskCancelledException;
- /** Bound a computation to a certain load */
- public native void setBound(double load);
+ /** Changes the maximum CPU utilization of a computation task. Unit is flops/s. */
+ public native void setBound(double bound);
/** Cancels a task. */
public native void cancel();
*/
public native static boolean listen(String mailbox);
- /**
- * Counts the number of tasks waiting to be received on the \a mailbox identified by the specified alia and sended by the specified \a host.
- */
- public native static int listenFromHost(String alias, Host host);
-
/**
* Class initializer, to initialize various JNI stuff
*/