Changeset 8394 for code/trunk/src/libraries/core
- Timestamp:
- May 3, 2011, 9:19:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/ThreadPool.cc
r8373 r8394 41 41 ThreadPool::~ThreadPool() 42 42 { 43 OrxVerify(this->setNrOfThreads(0) == 0, " " );43 OrxVerify(this->setNrOfThreads(0) == 0, "ERROR: could not join remaining threads in ThreadPool" ); 44 44 } 45 45 … … 89 89 { 90 90 // If that fails, then there is some code error 91 OrxVerify( (*it)->evaluateExecutor( executor ), " " );91 OrxVerify( (*it)->evaluateExecutor( executor ), "ERROR: could not evaluate Executor" ); 92 92 return true; 93 93 } … … 96 96 { 97 97 addThreads( 1 ); 98 OrxVerify( this->threadPool_.back()->evaluateExecutor( executor ), " " ); // access the last element98 OrxVerify( this->threadPool_.back()->evaluateExecutor( executor ), "ERROR: could not evaluate Executor" ); // access the last element 99 99 return true; 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.