summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/StartTest.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-05-19 01:47:35 +0000
committerMichi Henning <michi@zeroc.com>2005-05-19 01:47:35 +0000
commitc672443296deee643ff325b23738f413b557488d (patch)
tree69649b23f0ce78188b4d250a095161ebbcfc8973 /cpp/test/IceUtil/thread/StartTest.cpp
parentFixed http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=324. (diff)
downloadice-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.cpp4
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