Re: multithreading issues and the scene graph

New Message Reply Date view Thread view Subject view Author view

Sylvain Mayer (mayer++at++cae.ca)
Tue, 02 Nov 1999 13:50:31 -0500


Anthony Bavuso wrote:

> The DynamicModel model objects updates the pfDCS node to alter model position
> in its own thread and hence asynchronously to performer traversing the scene
> graph.
>
> There are obvious problems that this could cause. For example the
> DynamicModel may be writing to the pfDCS node while performer is trying to
> read it. Problems solved by using some kind of semaphore, mutex, lock, etc.
>
> My question is, Does performer have built-in to the pfDCS class and-or its

Look for pfCycleBuffer. I think this is exactly what you want.

regards, Sylvain
________________________________________
Sylvain Mayer, 3D Graphics Developer
Graphics Simulation Technology
Display Eng. & Special Projects
CAE Electronics Ltd. (http://www.cae.ca)
mailto:mayer++at++cae.ca
Tel: (514) 341-6780 Ext: 3065
Fax: (514) 734-5618

*** For the latest Vis-Sim related info check out: http://www.vis-sim.org


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Nov 02 1999 - 10:53:51 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.