Home Bug Reports

How can I run my ice server program in multi-threaded mode

levellevel Member ✭✭
I want to make the multi-threaded server ,that can make some proxys,and all the proxy run in their own self thread,that is ,I want my proxys run parallelly.
I make the example ,but they run in order like block callling in socket.

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Try changing this:
    Ice.ThreadPool.Server.Size=10;
    
    To this:
    Ice.ThreadPool.Server.Size=10
    
    I.e., remove the ";'".
  • levellevel Member ✭✭
    Thank a lot .
    Just this.

    But I feel "Ice.ThreadPool.Client.Size=10 ;" should equal to
    "Ice.ThreadPool.Client.Size=10 ".

    I have love ICE more than CORBA.



    :p
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Well, properties are free-form, so if you do:

    Ice.Blah=foo;

    Then the value of Ice.Blah is "foo;", and not "foo".
  • levellevel Member ✭✭
    I see
    Thanks your answer.
Sign In or Register to comment.