[omniORB] omniInitialRefLister

David Riddoch djr@uk.research.att.com
Thu, 22 Jul 1999 17:27:00 +0100 (GMT)


Hi,


Just to let you know, I have noticed this thread (despite not replying
until now), and I will do something about it in a future version of the
ORB.  (Possibly not 2.8, because I'm working hard on the POA).


David


On Thu, 15 Jul 1999, Stephen Coy wrote:

> Hi,
> 
> There is a static instance of this object that attempts to list the set of
> initial references held by omniInitialReferences at static destructor time
> when the ORBtraceLevel is >= 15.
> 
> Unfortunately, this destructor is indirectly dependent upon a static object
> in another source file (omniObject::objectTableLock).
> 
> Of course, on one of my platforms (HPUX 11.0), this second static object is
> destroyed before omniInitialRefLister::~omniInitialRefLister is invoked.
> Remember that static objects can be destroyed in any order.
> 
> I think that we need to find a better way to implement this functionality,
> rather than rely upon a static destructor.
> 
> Regards,
> 
> Stephen Coy
> Whitesmiths
> 
>