On 04:03 pm, doug.farr...@gmail.com wrote:
>Jean-Paul,
>
>Thanks for the "heads up", that certainly falls under the D'OH! 
>category. Would you have any suggestions for how I might do this kind 
>of thing?

I already mentioned SynchronousDeferred, so I guess you're not 
interested in that. :)

The main other idea that comes to mind is, in the synchronous case, to 
start the reactor in a separate thread and leave it running.  You can 
ask it to do things with reactor.callFromThread.  Or maybe you can use 
twisted.internet.threads.blockingCallFromThread.

Jean-Paul

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to