Ignore:
Timestamp:
Oct 20, 2012, 1:07:25 AM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/Threading/Threading/ChannelWorker.cpp

    r420 r421  
    33
    44
    5 ChannelWorker::ChannelWorker(int numThreads, OpenThreads::Barrier& syncBarrier)
    6  : _numThreads(numThreads), _syncBarrier(syncBarrier), _done(false)
     5ChannelWorker::ChannelWorker()
     6 : _done(false)
    77{
    88        OSG_ALWAYS<<"ChannelWorker instantiated."<<std::endl;
     
    2828
    2929        } while (!testCancel() && !_done);      // repeat as long it is canceld or set as Done
    30 
    31 
    32         //_syncBarrier.block(_numThreads);  // Sync the threads.
    33 
    3430}
    3531
     
    5450            // commenting out debug info as it was cashing crash on exit, presumable
    5551            // due to OSG_NOTIFY or std::cout destructing earlier than this destructor.
    56             OSG_ALWAYS<<"   Waiting for ChannelWorker to cancel "<<this<<std::endl;
     52            //OSG_ALWAYS<<"   Waiting for ChannelWorker to cancel "<<this<<std::endl;
    5753            OpenThreads::Thread::YieldCurrentThread();
    5854        }
Note: See TracChangeset for help on using the changeset viewer.