Interface GWorkQueue<T>
- Type Parameters:
T- Work item type.
- All Known Implementing Classes:
GParallelWorkQueueTask,GSequentialWorkQueueTask,GWorkQueueTask
public interface GWorkQueue<T>
A work queue system. Very low contention queueing of work. Options to
process work sequentially or in parallel. Each work item processing happens
on its own thread, giving the implementor freedom to do heavy lifting code
directly on the processor function without devising other mechanisms to free
the thread fast.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
addWork
Adds work to the work queue.- Parameters:
item- Work item to add.
-