non-blocking XML-RPC

Skip Montanaro skip at pobox.com
Fri Oct 22 23:56:12 EDT 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.

Skip



More information about the Python-list mailing list