Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2011, 9:19:52 AM (14 years ago)
Author:
scheusso
Message:

-fixed a memory leak (thx reto)
-some OrxVerify messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/ThreadPool.cc

    r8373 r8394  
    4141    ThreadPool::~ThreadPool()
    4242    {
    43         OrxVerify(this->setNrOfThreads(0) == 0, "" );
     43        OrxVerify(this->setNrOfThreads(0) == 0, "ERROR: could not join remaining threads in ThreadPool" );
    4444    }
    4545
     
    8989            {
    9090                // If that fails, then there is some code error
    91                 OrxVerify( (*it)->evaluateExecutor( executor ), "" );
     91                OrxVerify( (*it)->evaluateExecutor( executor ), "ERROR: could not evaluate Executor" );
    9292                return true;
    9393            }
     
    9696        {
    9797            addThreads( 1 );
    98             OrxVerify( this->threadPool_.back()->evaluateExecutor( executor ), "" ); // access the last element
     98            OrxVerify( this->threadPool_.back()->evaluateExecutor( executor ), "ERROR: could not evaluate Executor" ); // access the last element
    9999            return true;
    100100        }
Note: See TracChangeset for help on using the changeset viewer.