summaryrefslogtreecommitdiff
path: root/TAO/tao/Dynamic_TP
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2013-05-08 14:57:10 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2013-05-08 14:57:10 +0000
commit50f1b4855be18fae2cb903381cdf2f226a37f0fd (patch)
treec03a88be86c6512a0c10a9e082c0c03bd4fcb583 /TAO/tao/Dynamic_TP
parent38cf62388d7656801a46e75a497fd00d3eda8014 (diff)
downloadATCD-50f1b4855be18fae2cb903381cdf2f226a37f0fd.tar.gz
Wed May 8 14:56:24 UTC 2013 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tao/Dynamic_TP')
-rw-r--r--TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp
index 84ebe53a108..5d273dbd040 100644
--- a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp
+++ b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp
@@ -142,9 +142,9 @@ TAO_DTP_Thread_Pool::new_dynamic_thread (void)
(int)this->threads_.thr_count ()));
}
- if ((this->manager_.orb_core ().has_shutdown () || this->shutdown_) ||
+ if (this->manager_.orb_core ().has_shutdown () || this->shutdown_ ||
(this->definition_.max_threads_ > 0 &&
- (int)this->active_count_ >= this->definition_.max_threads_)
+ (int)this->active_count_ >= this->definition_.max_threads_))
{
return false;
}
@@ -155,7 +155,7 @@ TAO_DTP_Thread_Pool::new_dynamic_thread (void)
false);
if (this->definition_.max_threads_ == -1 ||
- (int)this->active_count_ < this->definition_.max_threads_))
+ (int)this->active_count_ < this->definition_.max_threads_)
{
if (TAO_debug_level > 7)
TAOLIB_DEBUG ((LM_DEBUG,