Package twisted :: Package flow :: Module threads

[frames | no frames]

## Module twisted.flow.threads

flow.thread

Support for threads within a flow

Classes
`QueryIterator` | Converts a database query into a result iterator from __future__ import generators from twisted.enterprise import adbapi from twisted.internet import reactor from twisted.flow import flow from twisted.flow.threads import QueryIterator, Threaded dbpool = adbapi.ConnectionPool("SomeDriver",host='localhost', db='Database',user='User',passwd='Password') # # I test with...
`Threaded` | A stage which runs a blocking iterable in a separate thread This stage tunnels output from an iterable executed in a separate thread to the main thread.

Generated by Epydoc 2.0 on Sat May 15 20:08:01 2004 | http://epydoc.sf.net