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. |
Returns the priority of the current task. Should only be called from within RunTask. |
Sets the name of the current task. Should only be called from within RunTask.
|
Returns the order and task ID 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 Mon Apr 4 13:44:10 2016 | http://epydoc.sourceforge.net |