diff options
author | Marc Laukien <marc@zeroc.com> | 2004-04-01 01:22:07 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-04-01 01:22:07 +0000 |
commit | 96829e9d830724623fd3bbf5f18ed85ed807e81f (patch) | |
tree | 801841e10f249490e8a39c3cf21c5b2cccc21c6d /cpp/src/Ice/Instance.cpp | |
parent | fix (diff) | |
download | ice-96829e9d830724623fd3bbf5f18ed85ed807e81f.tar.bz2 ice-96829e9d830724623fd3bbf5f18ed85ed807e81f.tar.xz ice-96829e9d830724623fd3bbf5f18ed85ed807e81f.zip |
fix
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index 214cd64806e..f25e25f6fb1 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -54,7 +54,9 @@ using namespace Ice; using namespace IceInternal; int Instance::_globalStateCounter = 0; -IceUtil::StaticMutex* Instance::_globalStateMutex = new IceUtil::StaticMutex; + +IceUtil::Mutex* Instance::_globalStateMutex = new IceUtil::Mutex; + #ifndef _WIN32 string Instance::_identForOpenlog; #endif @@ -381,7 +383,7 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Prope _messageSizeMax(0), _connectionIdleTime(0) { - IceUtil::StaticMutex::Lock sync(*_globalStateMutex); + IceUtil::Mutex::Lock sync(*_globalStateMutex); ++_globalStateCounter; try |