- Timestamp:
- 07/27/11 13:30:58 (10 months ago)
- Location:
- trunk/avango-daemon
- Files:
-
- 2 edited
-
include/avango/daemon/Device.h (modified) (2 diffs)
-
src/avango/daemon/Device.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-daemon/include/avango/daemon/Device.h
r1 r573 29 29 #include <map> 30 30 #include <boost/shared_ptr.hpp> 31 #include <boost/thread/thread.hpp>32 31 #include <avango/Base.h> 33 32 #include <avango/daemon/Station.h> 33 34 #if BOOST_VERSION > 104000 35 #include <boost/thread.hpp> 36 namespace av 37 { 38 typedef ::boost::thread Thread; 39 } 40 #else 41 #include <boost/thread/thread.hpp> 42 namespace av 43 { 44 typedef ::boost::thread Thread; 45 } 46 #endif 34 47 35 48 /** … … 162 175 const std::string mEmptyFeature; 163 176 164 ::boost::shared_ptr< ::boost::thread::thread> mThread;177 ::boost::shared_ptr< av::Thread > mThread; 165 178 bool mRunning; 166 179 }; -
trunk/avango-daemon/src/avango/daemon/Device.cpp
r1 r573 69 69 startDevice(); 70 70 mKeepRunning = true; 71 mThread.reset(new boost::thread::thread(boost::bind(&av::daemon::Device::threadFunction, this)));71 mThread.reset(new Thread(boost::bind(&av::daemon::Device::threadFunction, this))); 72 72 mRunning = true; 73 73 return true;
Note: See TracChangeset
for help on using the changeset viewer.
