Hi Nishant, On 7 November 2011 02:05, Nishant Singh <[email protected]> wrote: > In OSG 3.0, Referenced::signalObserversAndDelete(bool, bool) is called two > times. > First, in unref() when reference count becomes 0. > Second, in the destructor of Referenced(). > Is there any reason for calling signalObserversAndDelete() two times as in > OSG 2.8 observers were removed only once in the destructor.
The observer's in 2.8 weren't thread safe and would fail in certain stress situation. 3.0 address these issues with a completely re-factored observer implementation. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

