Archived

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

Is a proxy can be called in different thread at the same time?

I declared a lot of functions in a class. I need to use them in different thread. Some call to those functions may be at the same time. If I need to use some critical section to ensure those call to work properly. Thanks.

Comments

  • matthew
    matthew NL, Canada
    rano wrote:
    I declared a lot of functions in a class. I need to use them in different thread. Some call to those functions may be at the same time. If I need to use some critical section to ensure those call to work properly. Thanks.

    No, all Ice objects, including proxies, are internally thread safe and may be called concurrently.

    Regards, Matthew