summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkarl <karl>2002-11-11 20:39:12 +0000
committerkarl <karl>2002-11-11 20:39:12 +0000
commitde7975f4b8bde4c70e4ec0cf2056fe9ca5f26f84 (patch)
treeee2ce357c1e0981619c46c831672a3119b409019
parentd48e5e19b6722d928d43aea3b3f8dd0f7141556e (diff)
downloadtog-pegasus-VERSION_2_1_RELEASE_BRANCH.zip
tog-pegasus-VERSION_2_1_RELEASE_BRANCH.tar.gz
tog-pegasus-VERSION_2_1_RELEASE_BRANCH.tar.xz
Fix problem with atomic int that missed the releaseVERSION_2_1_1_RELEASEVERSION_2_1_RELEASE_BRANCH
-rw-r--r--src/Pegasus/Common/IPCUnix.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Pegasus/Common/IPCUnix.cpp b/src/Pegasus/Common/IPCUnix.cpp
index 141e039..6b8662b 100644
--- a/src/Pegasus/Common/IPCUnix.cpp
+++ b/src/Pegasus/Common/IPCUnix.cpp
@@ -40,16 +40,7 @@ PEGASUS_NAMESPACE_BEGIN
Mutex::Mutex()
{
pthread_mutexattr_init(&_mutex.mutatt);
-
-#if defined(PEGASUS_PLATFORM_OS400_ISERIES_IBM)
- // Needed because of EDEADLK checks below.
- // Otherwise, the thread will block if it already owns the mutex.
- pthread_mutexattr_settype(&_mutex.mutatt, PTHREAD_MUTEX_ERRORCHECK);
- pthread_mutex_init(&_mutex.mut, &_mutex.mutatt);
-#else
pthread_mutex_init(&_mutex.mut, NULL);
-#endif
-
_mutex.owner = 0;
}