Trees | Indices | Help |
|
---|
|
Base worker class for worker pools.
Users of a worker pool must override RunTask in a subclass.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Constructor for BaseWorker thread.
|
Returns whether this worker should terminate. Should only be called from within RunTask. |
Sets the name of the current task. Should only be called from within RunTask.
|
Main thread function. Waits for new tasks to show up in the queue.
|
Function called to start a task. This needs to be implemented by child classes. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 9 15:56:00 2010 | http://epydoc.sourceforge.net |