Hi,

Your test program has bug in it. std::rand() is not threadsafe nor reentrant. I 
don't think it can corrupt heap, but it will be better to use something else or 
use mutex around rand();


Cheers,
Filip

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





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

Reply via email to