Package | Description |
---|---|
com.sun.electric.tool.util.concurrent |
Package for parallel patterns and concurrent data structures
|
com.sun.electric.tool.util.concurrent.datastructures | |
com.sun.electric.tool.util.concurrent.patterns | |
com.sun.electric.tool.util.concurrent.runtime | |
com.sun.electric.tool.util.concurrent.runtime.taskParallel |
Modifier and Type | Method and Description |
---|---|
static <T> void |
Parallel.While(IStructure<T> data,
PWhileJob.PWhileTask<T> task)
Parallel while loop: iterates while elements in the data structure
|
Modifier and Type | Class and Description |
---|---|
class |
BDEQueue<T>
Bounded double ended queue
|
class |
BDEQueueWrapper<T>
Wrapper for double ended data structures.
|
class |
CircularArray<T>
Circular Array - thread safe - resizable
|
class |
DEListWrapper<T> |
class |
FCQueue<T> |
class |
IDEStructure<T>
Base class for double ended data structures.
|
class |
JavaQueueWrapper<T> |
class |
LockFreeQueue<T>
Thread safe, lock free, concurrent queue
|
class |
LockFreeSkipList<T>
Deprecated.
|
class |
LockFreeStack<T>
Thread safe, lock free, concurrent stack
|
class |
MultipleQueuesStructure<T> |
class |
UnboundedDEQueue<T>
Unbounded double ended data structure - thread safe - unbounded
|
class |
WorkSharingStructure<T>
Deprecated.
|
class |
WorkStealingStructure<T>
This data structure is a wrapper for work stealing.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Long,IStructure<T>> |
MultipleQueuesStructure.dataQueues |
Constructor and Description |
---|
PWhileJob.WhileTaskWrapper(PJob job,
PWhileJob.PWhileTask<T> task,
IStructure<T> items) |
PWhileJob(IStructure<T> items,
PWhileJob.PWhileTask<T> task) |
Modifier and Type | Method and Description |
---|---|
static IStructure<PTask> |
Scheduler.createScheduler(Scheduler.SchedulingStrategy strategy,
int numOfThreads) |
Modifier and Type | Field and Description |
---|---|
protected IStructure<PTask> |
SynchronizedWorker.taskPool |
Modifier and Type | Method and Description |
---|---|
protected IStructure<PTask> |
PoolWorkerStrategy.getTaskPool() |
Modifier and Type | Method and Description |
---|---|
static PoolWorkerStrategy |
ThreadPool.PoolWorkerStrategyFactory.createStrategy(IStructure<PTask> taskPool,
ThreadPool.ThreadPoolType type) |
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(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)
|
protected void |
PoolWorkerStrategy.setTaskPool(IStructure<PTask> taskPool) |
Constructor and Description |
---|
SimpleWorker(IStructure<PTask> taskPool) |
SynchronizedWorker(IStructure<PTask> taskPool,
java.util.concurrent.Semaphore sem) |
ThreadPool(IStructure<PTask> taskPool,
int numOfThreads,
ThreadPool.ThreadPoolType type)
prevent from creating thread pools via constructor
|