On 21 November 2014 15:23, We See <[email protected]> wrote:
> Hi Robert, > Your example runs only as long as the viewer is living, but if you remove > the viewer and add a new one, the CPU-affinity is lost (probably due to > cloning). This was the reason, why the new callback in my submission had 2 > methods: createDatabaseThread() and cloneDatabaseThread(). > If create new threads then you need to set the affinity on these new threads. This is normal and what I would expect. You can't push all the control of your application on the OSG. > Sorry, for wasting your time, but I also spent hours or even days for this > problem and waited about 1 year for resolution. I tested all your > suggestions, but was not able so solve my problem. The solution now is a > mix of your suggestions. > > I think the submission is not complicated, only 2 files and only about 10 > lines of code. Furthermore, the callback-technology is common in OSG. But > this is my personally opinion, your opinion seem to be different.] > I only modified one file when I submitted my addition to osgterrain.cpp, that's all that is required. Your own submission is rejected as it's unnecessary complication - even your own application doesn't need these modifications to the OSG. Robert.
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
