deadlock when two servers call each other - will threads hel

Phil Hunt philh at vision25.demon.co.uk
Tue Aug 31 23:19:59 CEST 1999


In article <1276011697-57188180 at hypernet.com>
           gmcm at hypernet.com "Gordon McMillan" writes:
> Adrian Eyre asks:
> > > 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() ?
> 
> Wouldn't be RPC then, would it? Message passing beats the pants off 
> RPC in everything but simplicity of use.

Perhaps, but IMO simplicity of use is quite an important plus for
any technology.

-- 
Phil Hunt....philh at vision25.demon.co.uk





More information about the Python-list mailing list