On Mon, Apr 28, 2008 at 4:26 PM, Benoît Laniel <[EMAIL PROTECTED]> wrote:

> First, let me thank you all for the great work you've done with FG.
>
> I started cross-compiling FG using the great fgfs-builder from Ralf and
> I have to say that it helped a lot. However, I had to patch the source
> code to make it possible. Here is the first one which basically replaces
> SGMutex by OpenThreads::Mutex and allows to get rid of pthread.


Hi Benoit,

I just want to jump in and point out that the threading code in FlightGear
and SimGear is very intricate and refined over much time, blood, sweat, and
tears.  In addition, any little changes surrounding the thread management or
the contents of threaded code can easily introduce very subtle bugs that
aren't encountered very often and are tremendously difficult to track down.
Not knowing anything about open-threads, I'm just a little nervous about any
changes to FlightGear's thread system.  If OpenThreads has identical
functionality to pthreads, perhaps this can be done transparently with no
risk to functionality or future robustness ... however, I hope that we
proceed very carefully, with much prior discussion and testing.  This is an
area where a commit now, test later philosophy could hurt the project
because thread related problems can be so nasty to debug.

Best regards,

Curt.
-- 
Curtis Olson: http://baron.flightgear.org/~curt/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to