[omniORB] omniInitialRefLister
Stephen Coy
coys@whitesmiths.com.au
Thu, 15 Jul 1999 12:52:00 +1000
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