Trees | Indices | Help |
---|
|
Main pool to manage worker threads processing an internal request queue.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Class constructor.
|
Create additional threads on the workers stack.
|
Dismiss worker threads from the workers stack. Stops a set number of workers in the workers list by popping the workers of the list stack.
|
Join all dismissed workers. Blocks until all dismissed worker threads terminate. Use when calling dismissWorkers with do_join = False. |
Place a WorkRequest on the request queue.
|
Poll the request queue until the queue is empty. Raises a NoResultsPending or NoWorkersAvailable exception if the results queue is initially empty, or there are no available workers. Otherwise processes the results queue and calls the request callback with the result of the request. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Aug 15 14:58:00 2014 | http://epydoc.sourceforge.net |