Home | Trees | Indices | Help |
|
---|
|
object --+ | Serial
This class is used to execute tasks in series, and is more efficient than Parallel, but is only appropriate for non-parallel builds. Only one instance of this class should be in existence at a time.
This class is not thread safe.
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Create a new serial job given a taskmaster. The taskmaster's next_task() method should return the next task that needs to be executed, or None if there are no more tasks. The taskmaster's executed() method will be called for each task when it is successfully executed or failed() will be called if it failed to execute (e.g. execute() raised an exception).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Nov 9 03:26:56 2015 | http://epydoc.sourceforge.net |