diff options
author | Michi Henning <michi@zeroc.com> | 2003-10-22 02:13:21 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-10-22 02:13:21 +0000 |
commit | 2b997ffc84f995a7524af2fe9974888dc8f1506b (patch) | |
tree | a9fac74fed2084737141b4aef04f77db870519ab /cpp | |
parent | adding Transform (diff) | |
download | ice-2b997ffc84f995a7524af2fe9974888dc8f1506b.tar.bz2 ice-2b997ffc84f995a7524af2fe9974888dc8f1506b.tar.xz ice-2b997ffc84f995a7524af2fe9974888dc8f1506b.zip |
Removed destructor from StaticMutex and StaticRecMutex.
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/include/IceUtil/StaticMutex.h | 14 | ||||
-rw-r--r-- | cpp/include/IceUtil/StaticRecMutex.h | 14 |
2 files changed, 0 insertions, 28 deletions
diff --git a/cpp/include/IceUtil/StaticMutex.h b/cpp/include/IceUtil/StaticMutex.h index a23dc0afe56..a84136ceac3 100644 --- a/cpp/include/IceUtil/StaticMutex.h +++ b/cpp/include/IceUtil/StaticMutex.h @@ -38,10 +38,6 @@ class ICE_UTIL_API StaticMutex { public: -#ifndef _WIN32 - ~StaticMutex(); -#endif - // // Lock & TryLock typedefs. // @@ -266,16 +262,6 @@ StaticMutex::lock(LockState&) const #else -inline -StaticMutex::~StaticMutex() -{ - int rc = pthread_mutex_destroy(&_mutex); - if(rc != 0) - { - throw ThreadSyscallException(__FILE__, __LINE__, rc); - } -} - inline void StaticMutex::lock() const { diff --git a/cpp/include/IceUtil/StaticRecMutex.h b/cpp/include/IceUtil/StaticRecMutex.h index ecd1b9f19c1..3d219c623c7 100644 --- a/cpp/include/IceUtil/StaticRecMutex.h +++ b/cpp/include/IceUtil/StaticRecMutex.h @@ -31,10 +31,6 @@ class ICE_UTIL_API StaticRecMutex { public: -#ifndef _WIN32 - ~StaticRecMutex(); -#endif - // // Lock & TryLock typedefs. // @@ -228,16 +224,6 @@ StaticRecMutex::lock(LockState&) const #else -inline -StaticRecMutex::~StaticRecMutex() -{ - int rc = pthread_mutex_destroy(&_mutex); - if(rc != 0) - { - throw ThreadSyscallException(__FILE__, __LINE__, rc); - } -} - inline void StaticRecMutex::lock() const { |