Changeset 8327 for code/trunk/src/libraries/core
- Timestamp:
- Apr 25, 2011, 8:22:36 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/network6 (added) merged: 7823-7825,7875,7878,7881-7882,7898,7900,7931,8315
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/Thread.cc
r7284 r8327 26 26 * 27 27 */ 28 29 #if defined(ORXONOX_PLATFORM_WINDOWS) 30 #include "ThreadWin.cc" 31 #elif defined(ORXONOX_PLATFORM_UNIX) 32 28 33 29 34 #include "Thread.h" … … 91 96 while( !stopThread ) 92 97 { 93 //this->executorMutex_->lock();98 this->executorMutex_->lock(); 94 99 ExecutorPtr executor = this->executor_; 95 //this->executorMutex_->unlock();100 this->executorMutex_->unlock(); 96 101 if( executor ) 97 102 { … … 108 113 this->workerThread_->yield(); 109 114 } 110 //this->stopThreadMutex_->lock();115 this->stopThreadMutex_->lock(); 111 116 stopThread = this->stopThread_; 112 //this->stopThreadMutex_->unlock();117 this->stopThreadMutex_->unlock(); 113 118 } 114 119 } … … 127 132 } 128 133 } 134 135 #endif
Note: See TracChangeset
for help on using the changeset viewer.