Hi Sebastian,

the sample code is called asynchronously from several compute threads. 
When I make sure that only one thread at a time calls accept() everything is 
rock solid (millions of calls).  But it's running slowly and doesn't scale well 
with the number of cores.

Without the lock the calls to accept() are asynchronous too and I get wrong 
results every few hundred calls.

The compute threads themselves run independetly from the main thread with the 
viewer. In fact this even happens in batch mode too without any visual 
representation at all.

Thank you!

Cheers,
Matthias

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64596#64596





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

Reply via email to