Added env var report.

This commit is contained in:
Robert Osfield
2005-05-20 06:39:41 +00:00
parent 56f415f7a8
commit f6298daae4

View File

@@ -12,6 +12,7 @@
*/
#include <osg/Referenced>
#include <osg/Notify>
#include <osg/ApplicationUsage>
#include <typeinfo>
#include <memory>
@@ -26,6 +27,7 @@ namespace osg
static bool s_useThreadSafeReferenceCounting = getenv("OSG_THREAD_SAFE_REF_UNREF")!=0;
static std::auto_ptr<DeleteHandler> s_deleteHandler(0);
static ApplicationUsageProxy Referenced_e0(ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_THREAD_SAFE_REF_UNREF","");
void Referenced::setThreadSafeReferenceCounting(bool enableThreadSafeReferenceCounting)
{