Thanks Thibault, fix now merged with svn/trunk and the OSG-2.8 branch.
On Wed, May 13, 2009 at 9:29 AM, Thibault Genessay <[email protected]> wrote: > Hi list, > > On Windows, when a process tries to spawn one too many thread, > _beginthreadex() fails but OpenThreads still waits on the startup > Block before returning to the caller of OpenThreads::Thread::start(). > This causes a deadlock. The return value of _beginthreadex() is > actually checked, but after the call to OpenThreads::Block::block() so > it is basically useless. > > Attached is a fix to move the check for the return value of > _beginthreadex() before the call to block(), so that start() can > return to the caller with a non-zero error code. This solves the > problem for me. > > Regards > > Thibault > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
