Robert Osfield
554adfc8e6
Refactored Observer/ObserverNodePath and DatabasePager to improve their robustness.
2010-05-14 12:24:13 +00:00
Robert Osfield
9a45538db9
Added an empty() method
2010-02-22 17:41:35 +00:00
Robert Osfield
530c947c94
Added an InitGlobalMutexes to enforce early construction and hence late destruction of singleton mutexes.
2010-02-19 09:02:24 +00:00
Robert Osfield
b09757bdb8
Refactored the osg::Referenced observerset code so that it now uses a dedicated ObserverSet class,
...
which utilises a global recursive mutex that is dedicated to manage Observer and ObserverSet.
The new global mutex for observers avoids problems with deadlocks that were occurring previously when
an osg::Refenced object was being deleted at the same time as on osg::ObserverNodePath.
2010-02-18 21:21:12 +00:00
Robert Osfield
ab66740fb0
Added new setNodePathTo() method
2010-02-18 09:00:37 +00:00
Robert Osfield
4a567d9954
Introduced new osg::ObserverNodePath class that robustly manages a NodePath in a thread safe manner,
...
making it easier for users to track a NodePath even when nodes in the path get deleted.
2010-02-15 20:14:32 +00:00