Added mutexes to ParticleProcessor and ParticleSystemUpdater to improve the thread safety of osgParticle

This commit is contained in:
Robert Osfield
2006-12-22 21:52:53 +00:00
parent bd6b7d581e
commit 401f3bcd43
4 changed files with 21 additions and 11 deletions

View File

@@ -171,6 +171,8 @@ namespace osgParticle
//added- 1/17/06- bgandere@nps.edu
//a var to keep from doing multiple updates
int _frameNumber;
OpenThreads::Mutex _cullUpdatelMutex;
};
// INLINE FUNCTIONS