Package | Description |
---|---|
com.sun.electric.tool.util.concurrent.runtime.taskParallel |
Modifier and Type | Method and Description |
---|---|
static ThreadPool |
ThreadPool.getThreadPool()
returns the current thread pool
|
static ThreadPool |
ThreadPool.initialize()
initialize thread pool, default initialization
|
static ThreadPool |
ThreadPool.initialize(int num)
initialize thread pool with number of threads
|
static ThreadPool |
ThreadPool.initialize(IStructure<PTask> taskPool)
initialize thread pool with specific task pool
|
static ThreadPool |
ThreadPool.initialize(IStructure<PTask> taskPool,
int numOfThreads)
initialize thread pool with specific task pool and number of threads
|
static ThreadPool |
ThreadPool.initialize(IStructure<PTask> taskPool,
int numOfThreads,
ThreadPool.ThreadPoolType type)
initialize thread pool with specific task pool and number of threads
|
static ThreadPool[] |
ThreadPool.initialize(IStructure<PTask> taskPool1,
int numOfThreads1,
ThreadPool.ThreadPoolType type1,
IStructure<PTask> taskPool2,
int numOfThreads2,
ThreadPool.ThreadPoolType type2)
create a double thread pool (two thread pool side by side)
|
static ThreadPool |
ThreadPool.initialize(Scheduler.SchedulingStrategy taskPool,
int numOfThreads) |
static ThreadPool |
ThreadPool.initialize(Scheduler.SchedulingStrategy taskPool,
int numOfThreads,
ThreadPool.ThreadPoolType type) |
Constructor and Description |
---|
ThreadPool.Worker(ThreadPool pool) |