| Home | Trees | Indices | Help |
|
|---|
|
|
Background thread connected to the requests/results queues.
A worker thread sits in the background and picks up work requests from one queue and puts the results in another until it is dismissed.
|
|||
|
__init__(self,
requestsQueue,
resultsQueue,
**kwds) Set up thread in damonic mode and start it immediatedly. |
||
|
run(self) Repeatedly process the job queue until told to exit. |
||
|
dismiss(self) Sets a flag to tell the thread to exit when done with current job. |
||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Set up thread in damonic mode and start it immediatedly. requestsQueue and resultQueue are instances of Queue.Queue passed by the ThreadPool class when it creates a new worker thread.
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Thu Oct 18 19:37:16 2007 | http://epydoc.sourceforge.net |