Fixed typo

This commit is contained in:
Robert Osfield
2005-09-01 19:12:06 +00:00
parent 2bafaea60a
commit caaeaee321
4 changed files with 25 additions and 9 deletions

View File

@@ -19,6 +19,20 @@
using namespace osg;
using namespace OpenThreads;
struct MyTest
{
MyTest()
{
osg::notify(osg::NOTICE)<<"MyTest Constructor"<<std::endl;
}
~MyTest()
{
osg::notify(osg::NOTICE)<<"MyTest Constructor"<<std::endl;
}
};
struct BlockOperation : public GraphicsThread::Operation, public Block
{
BlockOperation():
@@ -60,7 +74,7 @@ int GraphicsThread::cancel()
_done = true;
// cancel the thread..
result = Thread::cancel();
// result = Thread::cancel();
//join();
// release the frameBlock and _databasePagerThreadBlock incase its holding up thread cancelation.
@@ -124,6 +138,8 @@ void GraphicsThread::run()
osg::notify(osg::INFO)<<"Doing run"<<std::endl;
MyTest test;
bool firstTime = true;
OperationQueue::iterator itr = _operations.begin();