Archived

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

client-side thread safety

There is much discussion in the Ice manual of server-side thread safety. I am concerned however with client-side thread safety. For example, if I do this:

ic = Ice::initialize(argc, argv);
std::string StringifiedProxy = "whatever:tcp -h matilda.gimell -p 10001";
Ice::ObjectPrx base = ic->stringToProxy(StringifiedProxy);
pConfigServer = SMTPConfig::IServerPrx::checkedCast(base);

can I then safely use pConfigServer simultaneously from multiple threads in the client?

Comments

  • mes
    mes California
    Yes, you can do that. The Ice run time is fully thread safe.

    Take care,
    - Mark