> > More generally I'm not convinced that we need to deprecate the none > ref versions. I'd be inclined towards just documenting that > multi-threaded reads should use the Ref versions. >
It might not be convincing to have to go back to the code base and remove these unsafe sections of code, but by having a set of documentation is really not going to help eighty or ninety percent of the OSG community. I rarely look at the documentation. My documentation is really just the source code that is provided. With multiple cores available on the cheap and new and old applications requiring database support, I feel that it is in the best interest of OSG to have these functions removed. It will save for headaches in the long run for you, as you will not have to explain each and every time to use the ref version instead of the other. > > The cache flipping trick used is not good needs to be removed. I'd be > inclined towards use osgDB::Options to store the cache, and have an in > memory ObjectCache to mirror the current FileCache. Such an approach > would allow you to override the default ObjectCache to a single read > call, such as ones done from the DatabasePager and avoid the need to > cache flipping completely. > Are there plans for this to be addressed for a future release? If so, can you detail which release you are trying to target? Thanks, Ryan ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21553#21553 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

