Hi Robert, yes, that modified PThread.c++ seems to work for me without having to put the init into my main.
Thanks for the help! Bye, max On Tue, Nov 4, 2008 at 3:48 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 2:06 PM, Max Pfingsthorn > <[EMAIL PROTECTED]> wrote: >> Hi Robert, >> >> On Tue, Nov 4, 2008 at 2:36 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: >>> Could you try adding a: >>> >>> Thread::Init(); >>> >>> To the start of your main and see if that makes a difference. >> >> Yes, that did it. Before, OSG 2.6.1 and 2.5.5 finished compiling and >> *both* worked without OpenThreads::Thread::init(); in my main. That >> seems weird.. Did something change for 2.7 in terms of OpenThreads? > > There haven't been any significant changes to OpenThreads, just > changes to Atmic codes but I wouldn't have thought this would cause > problems. > > Did you try my modified Thread.c++? If this works then I'll check it in. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

