Improved the robustness of thread start and cancellation

This commit is contained in:
Robert Osfield
2007-01-03 16:06:12 +00:00
parent 740363133f
commit 4f87afdbf5
7 changed files with 87 additions and 25 deletions

View File

@@ -172,7 +172,7 @@ int main( int argc, char **argv )
else viewer.setCameraManipulator( new osgGA::TrackballManipulator() );
viewer.getCamera()->setClearColor(osg::Vec4f(0.6f,0.6f,0.8f,1.0f));
#if 1
#if 0
// singleWindowMultipleCameras(viewer);
@@ -187,7 +187,7 @@ int main( int argc, char **argv )
viewer.realize();
bool limitNumberOfFrames = false;
bool limitNumberOfFrames = true;
unsigned int numFrames = 0;
unsigned int maxFrames = 10;