Package x10.impl.fj
Class ForkJoinX10
java.lang.Object
x10.impl.fj.ForkJoinX10
- All Implemented Interfaces:
X10
- Direct Known Subclasses:
BookkeepingForkJoinX10
- Author:
- Dennis Cosgrove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
finish
(TaskSupplier<T> supplier) final <T> void
phased_join_void_fork_loop
(Collection<T> collection, TaskBiConsumer<Phaser, T> biConsumer) final <T> void
phased_join_void_fork_loop
(T[] array, TaskBiConsumer<Phaser, T> biConsumer) protected <T> void
phased_join_void_fork_loop_funnel
(Collection<T> collection, TaskBiConsumer<Phaser, T> biConsumer) void
void_finish
(TaskRunnable runnable)
-
Constructor Details
-
ForkJoinX10
public ForkJoinX10() -
ForkJoinX10
-
-
Method Details
-
finish
- Specified by:
finish
in interfaceX10
- Throws:
InterruptedException
ExecutionException
-
void_finish
- Specified by:
void_finish
in interfaceX10
- Throws:
InterruptedException
ExecutionException
-
phased_join_void_fork_loop_funnel
protected <T> void phased_join_void_fork_loop_funnel(Collection<T> collection, TaskBiConsumer<Phaser, T> biConsumer) throws InterruptedException, ExecutionException -
phased_join_void_fork_loop
public final <T> void phased_join_void_fork_loop(Collection<T> collection, TaskBiConsumer<Phaser, T> biConsumer) throws InterruptedException, ExecutionException- Specified by:
phased_join_void_fork_loop
in interfaceX10
- Throws:
InterruptedException
ExecutionException
-
phased_join_void_fork_loop
public final <T> void phased_join_void_fork_loop(T[] array, TaskBiConsumer<Phaser, T> biConsumer) throws InterruptedException, ExecutionException- Specified by:
phased_join_void_fork_loop
in interfaceX10
- Throws:
InterruptedException
ExecutionException
-