- Timestamp:
- Aug 22, 2010, 12:27:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/Thread.cc
r6417 r7200 75 75 } 76 76 77 bool Thread::evaluateExecutor( Executor*executor )77 bool Thread::evaluateExecutor( const ExecutorPtr& executor ) 78 78 { 79 79 this->isWorkingMutex_->lock(); … … 92 92 { 93 93 //this->executorMutex_->lock(); 94 Executor *executor = this->executor_;94 ExecutorPtr executor = this->executor_; 95 95 //this->executorMutex_->unlock(); 96 96 if( executor ) … … 98 98 (*executor)(); 99 99 this->executorMutex_->lock(); 100 delete this->executor_;101 100 this->executor_ = 0; 102 101 this->executorMutex_->unlock();
Note: See TracChangeset
for help on using the changeset viewer.