Archived
This forum has been archived. Please start a new discussion on GitHub.
deadlock while nested invoking
Hello, I am writing some basic testing program with Ice and I face a problem:
there are 2 class A,B, and they have following motheds:
A is in Node 1 and B is in Node 2,
when I invoke A::A1(BPrx b) in Node 2 remotely, both c/s program will be blocked.
I only use the basic Ice without other serives and configs, How can I solve this problem?
there are 2 class A,B, and they have following motheds:
A::Foo();
A::A1(BPrx b)
{
APrx a=.......
b->B1(a); /////Block Here
}
B::B1(APrx a)
{
a->Foo();
}
A is in Node 1 and B is in Node 2,
when I invoke A::A1(BPrx b) in Node 2 remotely, both c/s program will be blocked.
I only use the basic Ice without other serives and configs, How can I solve this problem?
0
Comments
-
You probably have not enough threads configured. For a detailed discussion about deadlocks and possible causes, please have a look at issue 4 and 5 of our newsletter Connections.0
-
You probably have not enough threads configured. For a detailed discussion about deadlocks and possible causes, please have a look at issue 4 and 5 of our newsletter Connections.
it helped, thank you!0