diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-24 11:49:32 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-24 11:49:32 +0000 |
commit | 9afafb3e5411d2dabb46b4419de1a1349275913e (patch) | |
tree | 5033f6507ad0447c76ff39d3e30f11793045fbc2 /cppe/test/IceE/thread/MutexTest.cpp | |
parent | minor fix (diff) | |
download | ice-9afafb3e5411d2dabb46b4419de1a1349275913e.tar.bz2 ice-9afafb3e5411d2dabb46b4419de1a1349275913e.tar.xz ice-9afafb3e5411d2dabb46b4419de1a1349275913e.zip |
Fixed lock to throw ThreadLockedException
Diffstat (limited to 'cppe/test/IceE/thread/MutexTest.cpp')
-rw-r--r-- | cppe/test/IceE/thread/MutexTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cppe/test/IceE/thread/MutexTest.cpp b/cppe/test/IceE/thread/MutexTest.cpp index be575d22d61..3303d502bd0 100644 --- a/cppe/test/IceE/thread/MutexTest.cpp +++ b/cppe/test/IceE/thread/MutexTest.cpp @@ -139,10 +139,8 @@ MutexTest::run() Mutex::Lock lock3(mutex); test(false); } - catch(const ThreadSyscallException& e) + catch(const ThreadLockedException&) { - // Expected - test(e.error() == EDEADLK); } #endif |