Changeset 4721 for source


Ignore:
Timestamp:
Jul 3, 2009, 11:53:21 AM (15 years ago)
Author:
Christoph Mayer
Message:

-minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/system/SystemQueue.cpp

    r4712 r4721  
    133133void SystemQueue::QueueThread::run(){
    134134        running = true;
     135
    135136        queueThread = new boost::thread(
    136137                boost::bind(&QueueThread::threadFunc, this) );
     
    139140void SystemQueue::QueueThread::cancel(){
    140141
     142        logging_debug("cancelling system queue");
     143
    141144        // cause the thread to exit
    142145        {
    143                 // get the lock, when we got the lock the 
     146                // get the lock, when we got the lock the
    144147                // queue thread must be in itemsAvailable.wait()
    145148                boost::mutex::scoped_lock lock(queueMutex);
    146                
     149
    147150                // set the running indicator and signal to run on
    148151                // this will run the thread and quit it
     
    152155
    153156        // wait until the thread has exited
     157        logging_debug("joining system queue thread");
    154158        queueThread->join();
    155159
    156160        // delete pending events
     161        logging_debug("deleting pending system queue events");
    157162        while( eventsQueue.size() > 0 ){
    158163                eventsQueue.erase( eventsQueue.begin() );
Note: See TracChangeset for help on using the changeset viewer.