Home | Trees | Indices | Help |
|
---|
|
object --+ | MarkedThreadPool
Flexible thread pool class. Creates a pool of threads, then accepts tasks that will be dispatched to the next available thread.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
Initialize the thread pool with numThreads workers.
|
External method to set the current pool size. Acquires the resizing lock, then calls the internal version to do real work. |
|
Insert a task into the queue. task must be callable; args and taskCallback can be None. |
Remove the marker from the currently executing tasks. Only one task with the given marker can be executed at a given time |
Retrieve the next task from the task queue. For use only by ThreadPoolThread objects contained in the pool. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Feb 3 11:29:49 2019 | http://epydoc.sourceforge.net |