|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.knowceans.topics.cgen.BerndParallelFor
public class BerndParallelFor
Nested Class Summary | |
---|---|
static interface |
BerndParallelFor.IntLoopCode
|
static class |
BerndParallelFor.Method
|
Field Summary | |
---|---|
BerndParallelFor.Method |
method
|
Constructor Summary | |
---|---|
BerndParallelFor(BerndParallelFor.Method method)
|
Method Summary | |
---|---|
void |
execute(int threadCount,
int from,
int to,
int step,
BerndParallelFor.IntLoopCode code)
execute a parallel loop function is thread-safe |
static void |
main(java.lang.String[] args)
|
void |
shutdown()
shut down the thread pool after final usage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public BerndParallelFor.Method method
Constructor Detail |
---|
public BerndParallelFor(BerndParallelFor.Method method)
Method Detail |
---|
public void execute(int threadCount, int from, int to, int step, BerndParallelFor.IntLoopCode code) throws java.lang.InterruptedException
java.lang.InterruptedException
public void shutdown()
public static void main(java.lang.String[] args) throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |