Hi Chris,

On 8/4/06, Chris Hanson <[EMAIL PROTECTED]> wrote:
   Ok, that does clarify what we're dealing with here. Thanks Mike!

   Robert, does OSG have a lot of singleton-like (but not actual singleton) 
non-local
static objects? I wasn't aware of any before this, but I'm sure there must be 
some. I'm
trying to imagine how I would search for them, other than just trawling all the 
code.

There are a number of singletons around, typically you'll find a
static method or function that creates a local static objects and
returns this.   These instance are probably fine though.

Its the places where there are global or static globals that could be
problematic.  There arn't too many of these though, I think you'll
find most the time the OSG does things safely w.r.t singltetons where
required.

My recommendation is just to keep testing things and report problems,
or have a look yourself, and we can work through them one by one.  I
don't think there should be too many issues like this though, at least
I hope not :-)

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to