Archived

This forum has been archived. Please start a new discussion on GitHub.

Simultaneously function call

Good day!

Description:
I define a Ice.ThreadPool.Server.Size.
Have a some realized interface function foo().
Have 2 or more clients, which can call foo() simultaneously.

How does Ice will run this function? Is it will run parallely in two or more threads? Or it will run in one thread one after another?

Comments

  • mes
    mes California
    Hi,

    The size of the thread pool determines the number of simultaneous operations that Ice will dispatch. The default size of the thread pool is one, therefore operations are dispatched serially. If you increase the size, operations will be dispatched simultaneously.

    Take care,
    - Mark
  • Thanks Mark!