Changeset 11054 for code/branches/cpp11_v3/src/libraries/core/ThreadWin.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/ThreadWin.cc
r8706 r11054 31 31 32 32 #include <cassert> 33 // #include <functional> 33 34 // #include <boost/thread/thread.hpp> 34 // #include <boost/bind.hpp>35 35 // #include <boost/thread/mutex.hpp> 36 36 // #include <boost/thread/thread_time.hpp> … … 45 45 46 46 Thread::Thread(): 47 executor_( 0),47 executor_(nullptr), 48 48 isWorking_(false), 49 49 stopThread_(false) … … 52 52 // this->isWorkingMutex_ = new boost::mutex; 53 53 // this->stopThreadMutex_ = new boost::mutex; 54 // this->workerThread_ = new boost::thread( boost::bind(&Thread::threadLoop, this) );54 // this->workerThread_ = new boost::thread( std::bind(&Thread::threadLoop, this) ); 55 55 } 56 56 … … 101 101 // (*executor)(); 102 102 // this->executorMutex_->lock(); 103 // this->executor_ = 0;103 // this->executor_ = nullptr; 104 104 // this->executorMutex_->unlock(); 105 105 // this->isWorkingMutex_->lock();
Note: See TracChangeset
for help on using the changeset viewer.