Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3298


Ignore:
Timestamp:
Jul 14, 2009, 5:47:06 PM (15 years ago)
Author:
scheusso
Message:

removed some (hopefully) unnecessary mutex calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp6/src/core/Thread.cc

    r3240 r3298  
    9191        while( !stopThread )
    9292        {
    93             this->executorMutex_->lock();
     93            //this->executorMutex_->lock();
    9494            Executor* executor = this->executor_;
    95             this->executorMutex_->unlock();
     95            //this->executorMutex_->unlock();
    9696            if( executor )
    9797            {
     
    109109                this->workerThread_->yield();
    110110            }
    111             this->stopThreadMutex_->lock();
     111            //this->stopThreadMutex_->lock();
    112112            stopThread = this->stopThread_;
    113             this->stopThreadMutex_->unlock();
     113            //this->stopThreadMutex_->unlock();
    114114        }
    115115    }
Note: See TracChangeset for help on using the changeset viewer.