Hi Nick,

On Thu, Feb 4, 2010 at 1:53 PM, Trajce Nikolov <nikolov.tra...@gmail.com> wrote:
> can we make this call to change the settings only if it different from the
> current one?

It only has an effect when you don't have atomic reference counting
built-in, in which case it toggles whether it'll use a mutex to make
sure ref/unref and thread safe.  If you have atomic ref counting built
in then then you can't change it, it's always thread safe as the cost
of adding an if statement would be more expensive than just doing the
atmoic increment/decrement.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to