Hello Patrick,

Patrick Hartling wrote:
> Our OpenSG application uses multiple threads with a single, shared aspect. Do 
> we need to call OSG::commitChanges() in any thread that modifies a field 
> container, or is it sufficient to call that function from the main 
> application loop?

the ChangeLists are per thread, to get all changes processed 
commitChanges() must be called in each thread.
One alternative we are using/experimenting with in our application is to 
merge the changes from all threads into a manually created ChangeList 
and apply that when we know that only the current thread is doing any work.

        Cheers,
                Carsten

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to