Package | Description |
---|---|
edu.rice.hj |
The base package for all habanero-java related items.
|
edu.rice.hj.api |
The base package for all Habanero-Java API.
|
edu.rice.hj.experimental | |
edu.rice.hj.runtime.baseruntime | |
edu.rice.hj.runtime.javafj | |
edu.rice.hj.runtime.sequential |
The base package for a sequential implementation of the HJ runtime.
|
Modifier and Type | Method and Description |
---|---|
static void |
Module0.asyncNb(HjRunnable runnable)
Creates a new asynchronous task to execute the wrapped statements.
|
static void |
Module0.asyncNbAt(HjPlace place,
HjRunnable runnable) |
static <T> void |
Module0.asyncNbAwait(HjFuture<T> f1,
HjFuture<T> f2,
HjFuture<T> f3,
HjRunnable runnable)
Construct to create an asynchronous task which is executed when all the futures are resolved.
|
static <T> void |
Module0.asyncNbAwait(HjFuture<T> f1,
HjFuture<T> f2,
HjRunnable runnable)
Construct to create an asynchronous task which is executed when both the futures are resolved.
|
static <T> void |
Module0.asyncNbAwait(HjFuture<T> f1,
HjRunnable runnable)
Construct to create an asynchronous task which is executed when the futureNb is resolved.
|
static <T> void |
Module0.asyncNbAwait(List<HjFuture<T>> dependences,
HjRunnable runnable)
Construct to create an asynchronous task which is executed when all the futureNb are resolved.
|
static void |
Module0.asyncNbSeq(boolean sequentialize,
HjRunnable runnable)
Similar to the regular
Module0.asyncNb(edu.rice.hj.api.HjRunnable) except that the boolean
condition is used as a tuning parameter to determine if the async should just be executed sequentially (when the
condition is true) in the parent task. |
static void |
Module0.asyncNbSeq(boolean sequentialize,
HjRunnable seqRunnable,
HjRunnable parRunnable)
Similar to the regular
Module0.asyncNb(edu.rice.hj.api.HjRunnable) except that the boolean
condition is used as a tuning parameter to determine if the async should just be executed sequentially (when the
condition is true) in the parent task. |
static void |
Module2.isolated(HjRunnable runnable)
Isolated statement identifies a critical section.
|
static void |
Module2.isolated(Object[] participants,
HjRunnable runnable)
|
static void |
Module2.isolated(Object participant1,
HjRunnable runnable)
Mutual exclusion is only guaranteed for instances of isolated statements that have a non-empty intersection in
their object lists.
|
static void |
Module2.isolated(Object participant1,
Object participant2,
HjRunnable runnable)
|
static void |
Module2.isolated(Object participant1,
Object participant2,
Object participant3,
HjRunnable runnable)
|
Modifier and Type | Method and Description |
---|---|
<T> void |
HjRuntime.asyncAwait(List<HjFuture<T>> dependences,
HjRunnable runnable)
Will execute the body of the runnable only after the dependences have been satisfied.
|
void |
HjRuntime.asyncSeqAt(boolean sequentialize,
HjPlace place,
HjRunnable runnable)
Runs the body of code (possibly) asynchronously at the specified place.
|
void |
HjRuntime.asyncWhen(HjExpression.HjAwaitExpression expression,
HjRunnable runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
void |
HjRuntime.isolated(HjRunnable runnable)
isolated.
|
void |
HjRuntime.isolated(Object[] participants,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
void |
HjRuntime.isolated(Object participant,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
Modifier and Type | Method and Description |
---|---|
static void |
ModuleZ.asyncWhen(HjExpression.HjAwaitExpression expression,
HjRunnable runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
static void |
ModuleZ.asyncWhen(HjExpression.HjBooleanExpression expression,
HjRunnable runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
static void |
ModuleZ.asyncWhen(HjFuture<?> future,
HjRunnable runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
Modifier and Type | Method and Description |
---|---|
static RunnableActivity |
HabaneroActivityFactory.adapt(String activityName,
HjPlace hjPlace,
HjRunnable runnable)
Factory method for
RunnableActivity instances. |
<T> void |
BaseRuntime.asyncAwait(List<HjFuture<T>> dependencies,
HjRunnable runnable)
Will execute the body of the runnable only after the dependences have been satisfied.
|
void |
BaseRuntime.asyncSeqAt(boolean sequentialize,
HjPlace place,
HjRunnable runnable)
Runs the body of code (possibly) asynchronously at the specified place.
|
void |
BaseRuntime.asyncWhen(HjExpression.HjAwaitExpression expression,
HjRunnable hjRunnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
void |
BaseRuntime.isolated(HjRunnable runnable)
isolated.
|
void |
BaseRuntime.isolated(Object[] participants,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
void |
BaseRuntime.isolated(Object participant,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
JavaForkJoinRuntime.asyncAwait(List<HjFuture<T>> dependences,
HjRunnable runnable)
Will execute the body of the runnable only after the dependences have been satisfied.
|
void |
JavaForkJoinRuntime.asyncSeqAt(boolean sequentialize,
HjPlace place,
HjRunnable runnable)
Runs the body of code (possibly) asynchronously at the specified place.
|
void |
JavaForkJoinRuntime.asyncWhen(HjExpression.HjAwaitExpression expression,
HjRunnable runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
void |
JavaForkJoinRuntime.isolated(HjRunnable runnable)
isolated.
|
void |
JavaForkJoinRuntime.isolated(Object[] participants,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
void |
JavaForkJoinRuntime.isolated(Object participant,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
SequentialRuntime.asyncAwait(List<HjFuture<T>> dependences,
HjRunnable runnable)
Will execute the body of the runnable only after the dependences have been satisfied.
|
void |
SequentialRuntime.asyncSeqAt(boolean sequentialize,
HjPlace place,
HjRunnable runnable)
Runs the body of code (possibly) asynchronously at the specified place.
|
void |
SequentialRuntime.asyncWhen(HjExpression.HjAwaitExpression expression,
HjRunnable runnable)
Mechanism to create an asynchronous task where the await expression is designed to coordinate relationships of
this parallel tasks with other tasks (using the
HjFuture handles. |
void |
SequentialRuntime.isolated(HjRunnable runnable)
isolated.
|
void |
SequentialRuntime.isolated(Object[] participants,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
void |
SequentialRuntime.isolated(Object participant,
HjRunnable runnable)
Isolated statement identifies a critical section.
|
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.