[Twisted-Python] Sporadic GeneratorExit when using deferredGenerator

Glyph Lefkowitz glyph at twistedmatrix.com
Wed May 12 05:08:26 EDT 2010


On May 11, 2010, at 8:28 PM, CARSON DEAN FENIMORE wrote:

> Just FYI: The problem appears to have gone away with some minor
> changes.  We have twisted in use in a large application, which
> consists of many threads.  These threads were invoking some
> twisted-related methods; for example, calling addCallback on a
> Deferred instance from one thread, while running a deferredGenerator
> in twisted -- this, of course, is not thread safe!  Except for a
> handful of such cases, we were using twisted correctly - adding
> callbacks on the main thread solved the issue at hand.

Glad you solved your problem, and thanks for reporting your conclusions here so future readers don't have to wonder what the heck was going on! :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100512/f3efbb27/attachment.htm 


More information about the Twisted-Python mailing list