summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/StaticMutex.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-04-20 06:42:48 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-04-20 06:42:48 +0000
commit97087d952ff8bc47e92a12e2ddd836e2c3d31354 (patch)
treed3abe875287d973b52ff33d938301f3d4275c98b /cpp/include/IceUtil/StaticMutex.h
parentFixed project dependencies. Added missing sessionControl tests. (diff)
downloadice-97087d952ff8bc47e92a12e2ddd836e2c3d31354.tar.bz2
ice-97087d952ff8bc47e92a12e2ddd836e2c3d31354.tar.xz
ice-97087d952ff8bc47e92a12e2ddd836e2c3d31354.zip
Use EDEADLK, not EDEADLOCK.
Diffstat (limited to 'cpp/include/IceUtil/StaticMutex.h')
-rw-r--r--cpp/include/IceUtil/StaticMutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/StaticMutex.h b/cpp/include/IceUtil/StaticMutex.h
index f499f6f1674..d0e6878893e 100644
--- a/cpp/include/IceUtil/StaticMutex.h
+++ b/cpp/include/IceUtil/StaticMutex.h
@@ -295,7 +295,7 @@ StaticMutex::tryLock() const
int rc = pthread_mutex_trylock(&_mutex);
if(rc != 0 && rc != EBUSY)
{
- if(rc == EDEADLOCK)
+ if(rc == EDEADLK)
{
throw ThreadLockedException(__FILE__, __LINE__);
}