Hi Paul,

On Sun, Apr 20, 2008 at 12:20 AM, Paul Martz <[EMAIL PROTECTED]> wrote:
> Thanks, Robert. On second thought, forcing OSG to stop threading and flush
>  its backend structures would certainly cause a frame stall; handling this
>  some other way would produce better results. For now, waiting "a few frames"
>  to unload the DLL is a good solution.

Stopping threading will cause a frame stall and or flusing back end
structres is likely to cause a frame drop.  Even unloading a dll and
deletion of associated memory could cause a frame drop in itself. If
dropping frame is critical I'd suggest avoiding unloading dll's untill
the app exits.

Would another tack be possible - i.e. is there any way you can stop
Windows assigning a separate heap per dll, this to me is the natural
solution.  Would overriding global new and delete do the trick?

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to