non-blocking XML-RPC

Skip Montanaro skip at
Sat Oct 23 05:56:12 CEST 2004

    Roose> Is there a way to make the xmlrpclib calls using ServerProxy not
    Roose> block?

Sure, in one thread stuff the method and parameters into a Queue object and
return "okay".  A separate computational thread can just get the (method,
params) tuples from the queue and call the long-running function.


More information about the Python-list mailing list