Archived
This forum has been archived. Please start a new discussion on GitHub.
Cyclic call on proxy -> Deadlock
MirkoWaechter
in Help Center
Hello,
I have got the problem, that Ice hangs in a deadlock, when i make a RPC on a proxy A that waits for this proxy B. The RPC of Proxy B is read-only.
For better understanding:
*: Sends it own proxy with the rpc as function parameter
** new read-only rpc
The system hangs on the RPC **, probably because the RPC * has not returned yet and it blocks until it has returned?
But Is Ice thread-safe? - ZeroC Documentation - ZeroC says that I can call a proxy concurrently, so why does it block?
Or may the mistake be somewhere else?
Thanks four your help
Mirko
I have got the problem, that Ice hangs in a deadlock, when i make a RPC on a proxy A that waits for this proxy B. The RPC of Proxy B is read-only.
For better understanding:
Proxy A Proxy B
------Async*----->
|
|does stuff
|
\/
<---new sync rpc**--
--------result of **->
|
|does stuff
\/
<-----result of *----
*: Sends it own proxy with the rpc as function parameter
** new read-only rpc
The system hangs on the RPC **, probably because the RPC * has not returned yet and it blocks until it has returned?
But Is Ice thread-safe? - ZeroC Documentation - ZeroC says that I can call a proxy concurrently, so why does it block?
Or may the mistake be somewhere else?
Thanks four your help
Mirko
0
