Results 1 to 2 of 2

Thread: client-side thread safety

  1. #1
    fitzharrys is offline Registered User
    Join Date
    Oct 2004
    Posts
    8

    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?

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Yes, you can do that. The Ice run time is fully thread safe.

    Take care,
    - Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Client-side objects
    By Kenni in forum Help Center
    Replies: 1
    Last Post: 12-28-2008, 09:30 AM
  2. Replies: 3
    Last Post: 10-30-2007, 04:45 PM
  3. Client side invocations from a Server app.
    By vincei in forum Comments
    Replies: 3
    Last Post: 07-04-2007, 09:27 AM
  4. Replies: 3
    Last Post: 03-13-2006, 02:49 AM
  5. OutOfMemoryError Exception in the client side
    By lucsat in forum Help Center
    Replies: 4
    Last Post: 01-03-2006, 07:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •