Hi Oliver,

A pbuffer is like any other graphics context, it shouldn't be a
problem to run the application multi-threaded with pbuffer if it is
already working thread safe with a standard graphics window.  However,
your own code might not be using the OSG in a safe way.

Robert.

On Tue, Nov 30, 2010 at 4:55 PM, Oliver Neumann <[email protected]> wrote:
> Hi Juan,
>
> Thanks for the demo code. It runs without a problem. I found the critical 
> line:
>
> viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded);
>
> If i comment it out, the demo code crashes with the same error text as above. 
> Very weird...
> I tried to add this line to my code, but I still have some minor bugs to fix. 
> Appart from that, is it possible to run a hidden viewer in a multithreaded 
> fashion?
>
> Greetings,
> Oliver
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=34270#34270
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to