| Trees | Indices | Help |
|
|---|
|
|
Worker pool with a queue.
This class is thread-safe.
Tasks are guaranteed to be started in the order in which they're added to the pool. Due to the nature of threading, they're not guaranteed to finish in the same order.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor for worker pool.
|
Adds a task to the queue.
|
Changes the number of workers in the pool.
|
Terminate all worker threads. Unstarted tasks will be ignored. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Dec 9 16:12:17 2010 | http://epydoc.sourceforge.net |