> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:opensg-users- > [EMAIL PROTECTED] On Behalf Of Carsten Neumann > Sent: Thursday, November 23, 2006 1:26 PM > To: [EMAIL PROTECTED]; [email protected] > Subject: Re: [Opensg-users] glutMainLoopEvent, threads and what not > > Hello Bart, > > Bart Kevelham wrote: > > Hello everybody, > [snip] > > I know it is hard to help me with this issue without seeing the code, > > but still I would like to ask: > > Is there anyone who has experienced an issue like this before? Can > > anyone think of any reason why OpenSG would block on a call to > > glutMainLoopEvent? Can there be any threading issues (the plugin I > > disable has several threads running) that you can think of that might > > cause this? Even if you think "Ah, that's probably not it." just tell > > me, because I'm at this point not where I will try anything. ;) > > hm, I don't have any real ideas what might be going wrong, but since you > mentioned threads: Does your plugin make calls to OpenSG, if yes, are > its threads registered with something like: > > OSG::ExternalThread *tr; > tr = OSG::ExternalThread::get(NULL); > tr->initialize (0); // 0 == OSG Aspect you want to use
Or could it be a osgInit() issue? Make sure it gets called before any other call to OpenSG. Regards, Toni ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
