Hello,

some time ago I have posted a fix for Win32Thread (it must have been
lost). Threads were created using CreateThread(, which have caused some
problems with the c run-time library in our application (e.g. crashes
when calling getEnv()). Now it uses _beginthreadex() instead of
CreateThread() to ensure that the c-runtime is initialized correctly for
a multithreaded environment.

See the attached file.

Thanks,
Daniel

Attachment: Win32Thread.cpp
Description: Win32Thread.cpp

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to