diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-11-28 11:15:40 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-11-28 11:15:40 +0100 |
commit | 7543bcb52cf1da76f73e9285af36a808feaa6ce4 (patch) | |
tree | 6d827a669d3ba48c6296f1b35520e80f509dcb9e /cpp/src/Ice/SelectorThread.cpp | |
parent | Fixed IceGrid bug (diff) | |
download | ice-7543bcb52cf1da76f73e9285af36a808feaa6ce4.tar.bz2 ice-7543bcb52cf1da76f73e9285af36a808feaa6ce4.tar.xz ice-7543bcb52cf1da76f73e9285af36a808feaa6ce4.zip |
VC6 compilation error fixes
Diffstat (limited to 'cpp/src/Ice/SelectorThread.cpp')
-rw-r--r-- | cpp/src/Ice/SelectorThread.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/Ice/SelectorThread.cpp b/cpp/src/Ice/SelectorThread.cpp index b0eb5007257..dba4a566d07 100644 --- a/cpp/src/Ice/SelectorThread.cpp +++ b/cpp/src/Ice/SelectorThread.cpp @@ -136,7 +136,7 @@ IceInternal::SelectorThread::run() catch(const Ice::LocalException& ex) { Error out(_instance->initializationData().logger); - out << "exception in selector thread:\n" << ex; + out << "exception in selector thread:\n" << ex; continue; } @@ -153,7 +153,7 @@ IceInternal::SelectorThread::run() // 1. The selector thread has been destroyed. // 2. A socket was registered or unregistered. // - + // // Thread destroyed? // @@ -252,19 +252,19 @@ IceInternal::SelectorThread::run() } readyList.clear(); - + if(finishedList.empty()) { continue; } - - for(vector<SocketInfo*>::const_iterator p = finishedList.begin(); p != finishedList.end(); ++p) + + for(vector<SocketInfo*>::const_iterator q = finishedList.begin(); q != finishedList.end(); ++q) { - if((*p)->status != Finished) + if((*q)->status != Finished) { - _selector.remove((*p)->fd, (*p)->status); + _selector.remove((*q)->fd, (*q)->status); } - socketMap.erase((*p)->fd); + socketMap.erase((*q)->fd); } finishedList.clear(); } @@ -297,7 +297,7 @@ IceInternal::SelectorThread::HelperThread::run() catch(...) { Error out(_selectorThread->_instance->initializationData().logger); - out << "unknown exception in selector thread"; + out << "unknown exception in selector thread"; } if(_selectorThread->_instance->initializationData().threadHook) |