Class: ThreadedScheduler | Twisted-0.17.4/twisted/internet/task.py | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
I am a thread-aware delayed scheduler of for synchronous event loops.This lets threads execute non-thread safe code by adding it to the scheduler. Tasks added to this scheduler will not be stored persistently. This is an implementation of the Active Object pattern, and can be used as part of the queueing layer for the Async/Half-Async pattern. The other half the Async/Half-Async pattern is twisted.internet.threadtask. For more details:1) POSA2 book - http://www.cs.wustl.edu/~schmidt/POSA/ 2) Active Object - http://www.cs.wustl.edu/~schmidt/PDF/Act-Obj.pdf 3) Async/Half-Async - http://www.cs.wustl.edu/~schmidt/PDF/PLoP-95.pdf
|