Hi,

On Thursday 24 May 2007, Tim Moore wrote:
> OSG reference counting doesn't need to be thread safe, even in the
> multi-threaded OSG modes, unless you're doing something very tricky. In
> any event, it shouldn't be turned on in the model reader initialization.

Please don't!
It is there by intention.
I have a multithreaded viewer in the works and for that it is still useful to 
have thread safe reference counting in place.
Also Having the database pager set up once we have the osgviewer code settled 
we will do model loading in a thread that runs in parallel to the rest of the 
application. And remember that we share some data across models. That model 
cloning will need thread safe reference counting.
It does not cost much OTOH.

   Greetings

          Mathias

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to