Changeset 11054 for code/branches/cpp11_v3/src/libraries/core/Thread.cc
- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/libraries/core/Thread.cc
r8399 r11054 34 34 35 35 #include <cassert> 36 #include <functional> 36 37 #include <boost/thread/thread.hpp> 37 #include <boost/bind.hpp>38 38 #include <boost/thread/mutex.hpp> 39 39 #include <boost/thread/thread_time.hpp> … … 48 48 49 49 Thread::Thread(): 50 executor_( 0),50 executor_(nullptr), 51 51 isWorking_(false), 52 52 stopThread_(false) … … 55 55 this->isWorkingMutex_ = new boost::mutex; 56 56 this->stopThreadMutex_ = new boost::mutex; 57 this->workerThread_ = new boost::thread( boost::bind(&Thread::threadLoop, this) );57 this->workerThread_ = new boost::thread( std::bind(&Thread::threadLoop, this) ); 58 58 } 59 59 … … 102 102 (*executor)(); 103 103 this->executorMutex_->lock(); 104 this->executor_ = 0;104 this->executor_ = nullptr; 105 105 this->executorMutex_->unlock(); 106 106 this->isWorkingMutex_->lock();
Note: See TracChangeset
for help on using the changeset viewer.