diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-02-14 15:22:35 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-02-14 15:22:35 +0000 |
commit | 551208447cbca1c67e959a06fd96f97d4d1ff926 (patch) | |
tree | ecb7cf0482f5c320a30c00faf0a8c0796daeda3e /cpp/src | |
parent | Ice.OA removed (diff) | |
download | ice-551208447cbca1c67e959a06fd96f97d4d1ff926.tar.bz2 ice-551208447cbca1c67e959a06fd96f97d4d1ff926.tar.xz ice-551208447cbca1c67e959a06fd96f97d4d1ff926.zip |
Always initialize thread per connection attributes
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index 68f33a7e1a9..0963773d47d 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -743,7 +743,9 @@ Ice::ObjectAdapterI::ObjectAdapterI(const InstancePtr& instance, const Communica _waitForActivate(false), _destroying(false), _destroyed(false), - _noConfig(noConfig) + _noConfig(noConfig), + _threadPerConnection(false), + _threadPerConnectionStackSize(0) { if(_noConfig) { @@ -796,10 +798,6 @@ Ice::ObjectAdapterI::ObjectAdapterI(const InstancePtr& instance, const Communica } _threadPerConnectionStackSize = stackSize; } - else - { - _threadPerConnectionStackSize = 0; - } // // Create the per-adapter thread pool, if necessary. This is done before the creation of the incoming |