[Twisted-web] xmlrpc blocking
rasjidw at openminddev.net
Mon Jul 25 05:44:51 MDT 2005
On Mon, 25 Jul 2005 06:46 pm, Mary Gardiner wrote:
> On Mon, Jul 25, 2005, Rasjid Wilcox wrote:
> > What should I be doing instead?
> Writing code that doesn't block.
> A Deferred object is not a sophisticated wrapper which writes
> asynchronous code for you, ie, wrapping a blocking function in a
> Deferred does not make it non-blocking. (A Deferred is more like an
> abstraction for chains of callback functions.) Wrapping a blocking
> function in a Deferred just means that your application blocks for a
> while, and *then* the Deferred fires the callbacks.
Okay. I think the light just came on.
Melbourne, Australia (UTC +10 hrs)
More information about the Twisted-web