I've used the ACE programming framework to
implement threaded applications in the past. There are considerable advantages
to using such as a framework to do threading. As well, it also supports message
queues which work very well with threads. It has all the paradigm required to
support threading, locking etc ...
----- Original Message -----
Sent: Tuesday, November 07, 2006 9:01
AM
Subject: Re: [Flightgear-devel] OSG and
multicore processor
On 11/7/06, Frederic Bouvier
<[EMAIL PROTECTED]> wrote:
FGFS
doesn't use threading much at that time. Only for the scenery loader
and metar. One can thing of putting the FDM or AI in other threads, or
maybe even divide the viewport into small areas that could be rendered in
parallel. I don't know if its doable, but for now, you will only see an
improvement running multiple programs in parallel. As you already see,
Atlas or Terrasync can run on their own core and not disturb
FG.
In FlightGear we intentionally minimize the use of threading to
places where there is a huge need.
Adding a thread significantly
increases the complexity of the code and can hide a large variety of execution
order and timing problems which can be incredibly difficult to debug and fix.
If we are ever add additional threads, it will be only
because we are forced to by clear and overwhelming performance considerations
(and not for design or preference reasons.)
Regards,
Curt. -- Curtis Olson - University of Minnesota
- FlightGear Project http://baron.flightgear.org/~curt/ http://www.humanfirst.umn.edu/
http://www.flightgear.org Unique text:
2f585eeea02e2c79d7b1d8c4963bae2d
------------------------------------------------------------------------- Using
Tomcat but need to do more? Need to support web services, security? Get
stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Flightgear-devel
mailing
list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel