[Openthreads-info] Re: [osg-users]OSG in Irix using gcc 3.3
Brought to you by:
sspicer
From: Robert O. <ro...@op...> - 2003-11-06 10:20:40
|
Hi Fabio, On Thursday 06 November 2003 02:00, F Capela wrote: > I've been using the examples that came with OSG. Most > of the demos called by the RUN_osg_demos.bat script > end up hanging if I let them run long enough. And the > time it takes to hang is also highly variable, > sometimes the demo hangs right away and sometimes it > takes some minutes to hang up. I do have the > impression that osgwindows is the one that hangs the > fastest, but since I haven't done extensive tests it > may be just a coincidence. > I'll try to see if any one of the examples don't hang > here (I didn't experience hangups in some of them, for > example osglogo, but I didn't let the ones that didn't > hang running very long.) There is very little difference in how the examples are set up. The only real difference would be the once that set up particle systems, as these switch off the multi-threading, since osgParticle isn't yet thread safe. So try osgparticle, this might be one that is stable. If things arn't stable multi-threaded then it looks like you have a flacky pthread implementation, or at least a more flacky pthread implementation than sgi's usually have. We come across a few problems with the IRIX pthread implementation. Sean Spicer the author of OpenThreads has also implement sproc version of OpenThreads, its now in the cvs version of the library. I'd recommend giving that a try. OpenThreads is design so that the interface is identical between different implementations, so that you can use a symbolic link to the OpenThreads implementation you want to use at runtime without needing to recompile or relink your own applications. Robert. |