View Single Post
  #1 (permalink)  
Old 07-21-2005
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 161
Send a message via MSN to OrNot
-->
Question about the Connection#4.

Hi, Matthrew,
In the file "Config.Server" of sample codes in the connection#4, you increased the ThreadPool.Client.Size to 4 and commented that " Since the server makes calls from an AMI callback its necessary to increase the size of the client thread pool."
My question is that whether the "increasing" is necessary otherwise will lead to deadlock or is preferable otherwise may lead to the thread starvation?
If the latter, why did you not increase the ThreadPool.Server.Size?
I am always afraid of the deadlock when I am programming using ICE, especially when I have to select a proper thread number. So far as to me , what I can do is to avoid the nested callbacks

Hope getting your help.

Thank you .

OrNot
Reply With Quote