summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2024-06-18 08:19:36 +0200
committerGitHub <noreply@github.com>2024-06-18 08:19:36 +0200
commitb08306ef3bf16a7ecadf558375b2eb4f14336047 (patch)
treee8ac785d69e8f2baa6f93ed4736f596ae9c53eb8 /cpp/src
parentFix bogus call to ERR_get_error - Fix #2153 (#2231) (diff)
downloadice-b08306ef3bf16a7ecadf558375b2eb4f14336047.tar.bz2
ice-b08306ef3bf16a7ecadf558375b2eb4f14336047.tar.xz
ice-b08306ef3bf16a7ecadf558375b2eb4f14336047.zip
Back pressure fix for 3.7 (#2270)
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp
index 5a56c74f4c4..434dc728a9e 100644
--- a/cpp/src/Ice/ThreadPool.cpp
+++ b/cpp/src/Ice/ThreadPool.cpp
@@ -778,7 +778,7 @@ IceInternal::ThreadPool::run(const EventHandlerThreadPtr& thread)
// If there are no more ready handlers and there are still threads busy performing
// IO, we give up leadership and promote another follower (which will perform the
// select() only once all the IOs are completed). Otherwise, if there are no more
- // threads peforming IOs, it's time to do another select().
+ // threads performing IOs, it's time to do another select().
//
if(_inUseIO > 0)
{
@@ -915,7 +915,7 @@ IceInternal::ThreadPool::ioCompleted(ThreadPoolCurrent& current)
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
- current._ioCompleted = true; // Set the IO completed flag to specifiy that ioCompleted() has been called.
+ current._ioCompleted = true; // Set the IO completed flag to specify that ioCompleted() has been called.
current._thread->setState(ICE_ENUM(ThreadState, ThreadStateInUseForUser));