| Home | Trees | Index | Help |
|
|---|
| Package SCons :: Module Job :: Class ThreadPool |
|
This class is responsible for spawning and managing worker threads.
| Method Summary | |
|---|---|
Create the request and reply queues, and 'num' worker threads. | |
Shuts down the thread pool, giving each worker thread a chance to shut down gracefully. | |
Remove and return a result tuple from the results queue. | |
preparation_failed(self,
obj)
| |
Put task into request queue. | |
| Method Details |
|---|
__init__(self,
num)
|
cleanup(self)Shuts down the thread pool, giving each worker thread a chance to shut down gracefully. |
get(self, block=True)Remove and return a result tuple from the results queue. |
put(self, obj)Put task into request queue. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Dec 12 09:39:31 2007 | http://epydoc.sf.net |