HWRF
trunk@4391
|
Contains the WorkPool class, which maintains pools of threads that perform small tasks. More...
Contains the WorkPool class, which maintains pools of threads that perform small tasks.
Classes | |
class | WorkPool |
A pool of threads that perform some list of tasks. More... | |
class | WorkTask |
Stores a piece of work. More... | |
class | WrongThread |
Raised when a thread unrelated to a WorkPool attempts to interact with the WorkPool. More... | |
Functions | |
def | do_nothing () |
Does nothing. More... | |
Variables | |
list | __all__ = ["WorkPool","WrongThread"] |
List of symbols exported by "from produtil.workpool import *". | |
tuple | TERMINATE = WorkTask(do_nothing) |
Special constant WorkTask used to terminate a WorkPool. More... | |
def produtil.workpool.do_nothing | ( | ) |
produtil.workpool.TERMINATE = WorkTask(do_nothing) |
Special constant WorkTask used to terminate a WorkPool.
Do not modify.
Definition at line 82 of file workpool.py.