diff options
author | Michi Henning <michi@zeroc.com> | 2005-05-19 01:47:35 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-05-19 01:47:35 +0000 |
commit | c672443296deee643ff325b23738f413b557488d (patch) | |
tree | 69649b23f0ce78188b4d250a095161ebbcfc8973 /cpp/test/IceUtil/thread/StartTest.cpp | |
parent | Fixed http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=324. (diff) | |
download | ice-c672443296deee643ff325b23738f413b557488d.tar.bz2 ice-c672443296deee643ff325b23738f413b557488d.tar.xz ice-c672443296deee643ff325b23738f413b557488d.zip |
Fixed http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=324
Diffstat (limited to 'cpp/test/IceUtil/thread/StartTest.cpp')
-rw-r--r-- | cpp/test/IceUtil/thread/StartTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/test/IceUtil/thread/StartTest.cpp b/cpp/test/IceUtil/thread/StartTest.cpp index 1a7f180db93..492b3c30531 100644 --- a/cpp/test/IceUtil/thread/StartTest.cpp +++ b/cpp/test/IceUtil/thread/StartTest.cpp @@ -48,16 +48,14 @@ StartTest::run() StartTestThreadPtr t = new StartTestThread(); ThreadControl control = t->start(); control.join(); - bool gotException = false; try { t->start(); + test(false); } catch(const ThreadStartedException&) { - gotException = true; } - test(gotException); // // Now let's create a bunch of short-lived threads |