deadlock when two servers call each other - will threads help?

Adrian Eyre a.eyre at optichrome.com
Tue Aug 31 08:34:06 EDT 1999


> This is fine in theory, but in practice it yields deadlocks.  A child can
be
> making an XML-RPC call to its parent to forward one change request at the
> same time the parent is trying to make another call to that child.  Both
> servers will block in read() waiting for a response that never arrives.

Is there a non-blocking read() call like the BSD-sockets-style select() ?

--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com
--------------------------------------------





More information about the Python-list mailing list