Changeset 7900 for code/branches/network6
- Timestamp:
- Feb 15, 2011, 2:34:09 PM (14 years ago)
- Location:
- code/branches/network6/src/libraries
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network6/src/libraries/core/Thread.cc
r7284 r7900 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 -
code/branches/network6/src/libraries/network/Connection.cc
r7898 r7900 135 135 136 136 // this->overallMutex_->unlock(); 137 msleep(1 0);137 msleep(1); 138 138 // this->overallMutex_->lock(); 139 139
Note: See TracChangeset
for help on using the changeset viewer.