[omniORB] clients, _duplicate() & thread safety
Fatih Ogun
ogun@ims.com.tr
Wed, 2 Feb 2000 18:43:44 +0200
Calling _duplicate() function does not produce a new object reference. =
It just increases the reference count by 1 in each call.
FATIH OGUN
Project Consultant
IMS Software Company
-----Original Message-----
From: Nick Brook [SMTP:ncb@adaptivebroadband.co.uk]
Sent: 02 ?ubat 2000 =C7ar?amba 18:17
To: omniorb-list@uk.research.att.com
Subject: [omniORB] clients, _duplicate() & thread safety
Hi all. I have a quick question. Basically I have a factory object with
creates child objects (in the same process). All these objects need to
talk to a remote object (in another address space). Currently I make the
factory object hold an object reference to this remote object, and the
child objects make calls to this object via the object reference in the
factory class (i.e they all use the same object reference). Is there any
difference between doing this and giving each client object a
_duplicate() of the object reference? And is the proxy object
thread-safe?
Cheers, =09
Nick Brook=09
Adaptive Broadband Ltd, Cambridge