(I essentially agree with everything Tim, but want to add one  
technical detail)

On 29 Dec 2008, at 13:12, Tim Moore wrote:

> Putting snark
> aside, I'd suggest that FG is not in as bad shape as you think. The  
> property
> system is already a great mechanism for communication among the sub- 
> systems of
> FG. A great project would be to look at making the property system  
> thread-safe,
> and follow that up by turning it into a "blackboard" that can be  
> used by
> distributed copies of FlightGear.

Just to add, Simgear now has some good threading primitives, and so  
does OSG. The refcounting system is thread-safe, and I'm planning a  
TLS / pool-based system to make property nodes thread-safe as well  
(hopefully without incurring a per-node lock, but that's getting into  
deep technical debates). (If anyone wants to have a technical  
discussion about this, great)

The key thing is, we have a good modularity thanks the to SGSubsystem  
and properties. It needs some enhancements in some limited ways, and  
we have state that violates the property-tree abstraction for various  
(valid!) reasons, but I don't believe there is any major obstacle to  
running batches of subsystems on worker threads in the medium term.  
It's not a high priority compared to other things, since the biggest  
multi-thread enhancements come 'for free' thanks to OSG. But it does  
not need some major re-think or re-design, as far as I can see.

For everything else, I can only agree with Tim.

James


------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to