SG_LOG( SG_GENERAL, SG_INFO, "FlightGear: Version "
<< version );
SG_LOG( SG_GENERAL, SG_INFO, "Built with " << SG_COMPILER_STR << std::endl );
+ SG_LOG( SG_GL,
+ SG_INFO,
+ "osg::Referenced thread safe reference counting is "
+ << (osg::Referenced::getThreadSafeReferenceCounting() ? "enabled"
+ : "disabled")
+ );
// Allocate global data structures. This needs to happen before
// we parse command line options
SG_INFO,
"New model with attached script(s) "
"(branch = " << branch << ","
- " path = " << simgear::getNodePathString(branch) << ")"
+ " path = " << simgear::getNodePathString(branch) <<
+ " thread-safe = " << branch->getThreadSafeRefUnref() << ")"
);
}