Re: [osg-users] Fix for Win32Thread.cpp

2007-06-27 Thread Robert Osfield
Thanks Daniel, fix now merged and submitted to SVN. In future can you post all submissions to osg-submission as posts to osg-users can easily get lots in the rest of the traffic. On 6/26/07, Kallfass, Daniel, SDGE1 <[EMAIL PROTECTED]> wrote: Hello, some time ago I have posted a fix for Win32Th

Re: [osg-users] Fix for Win32Thread.cpp

2007-06-26 Thread Serge Lages
On 6/26/07, amalric alexandre <[EMAIL PROTECTED]> wrote: Hi, I have a crash with Win32Thread too, when I close my application but only in Release mode, I don't know why, so I build OpenThread with your version of file, but it crashes also in getenv.c at line 153. I am under XP with Visual 2005.

Re: [osg-users] Fix for Win32Thread.cpp

2007-06-26 Thread amalric alexandre
Hi, I have a crash with Win32Thread too, when I close my application but only in Release mode, I don't know why, so I build OpenThread with your version of file, but it crashes also in getenv.c at line 153. I am under XP with Visual 2005. If you have any idea how to fix it. Thanks 2007/6/26, S

Re: [osg-users] Fix for Win32Thread.cpp

2007-06-26 Thread Serge Lages
I have the same crash, and I am really happy you found a solution. But submit your patch to osg-submission instead of osg-users if you want morechances to get it applied. :) On 6/26/07, Kallfass, Daniel, SDGE1 <[EMAIL PROTECTED]> wrote: Hello, some time ago I have posted a fix for Win32Thread

[osg-users] Fix for Win32Thread.cpp

2007-06-25 Thread Kallfass, Daniel, SDGE1
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() t