Static Public Member Functions | |
static void | executeInPool (List< Callable< Void >> threads) |
static void | executeInPool (List< Callable< Void >> threads, int numParallel) |
Simple Thread execution pool to execute multiple callable objects at same time.
Definition at line 25 of file ThreadPool.java.
static void edu.tum.cs.ias.knowrob.utils.ThreadPool.executeInPool | ( | List< Callable< Void >> | threads | ) | [inline, static] |
Executes the given callable objects in a thread pool and returns when all threads have finished and all callable objects have been executed.
threads | list of callable objects |
Definition at line 35 of file ThreadPool.java.
static void edu.tum.cs.ias.knowrob.utils.ThreadPool.executeInPool | ( | List< Callable< Void >> | threads, |
int | numParallel | ||
) | [inline, static] |
Definition at line 39 of file ThreadPool.java.