On Sat, 31 May 2008 10:39:56 +0200 Benoît Laniel <[EMAIL PROTECTED]> wrote:
> Hello, > > My patches for SGThread are now complete. I use them on Linux with no > problems and some people use them on Windows since a few weeks with no > problems either. > I've checked these in. Thanks! Tim > Patch for simgear: > > - Replace SGMutex with OpenThreads::Mutex. > - Replace SGGuard with OpenThreads::ScopedLock (which acts exactly > like SGGuard, see include/OpenThreads/ScopedLock). > - Use global variables for mutex where needed to be thread safe (as > pointed by Tim). > > Patch for flightgear: > > - Replace SGThread with OpenThreads::Thread. > - Replace SGGuard with OpenThreads::ScopedLock. > - Replace SGMutex with OpenThreads::Mutex. > - Replace SGPthreadCond by OpenThreads::Condition. > > I did not touch configuration files, so to enable threads pthread > still needs to be detected (but will not be used). With these > patches, only SGQueue.hxx is used in simgear/threads (which is > cross-platform since it only uses OpenThreads). > > Best regards, > Benoît > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel