summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/TestSuite.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2003-03-12 04:25:17 +0000
committerMichi Henning <michi@zeroc.com>2003-03-12 04:25:17 +0000
commit5fbef4d3304ddd53c29bcb3ebd89380dbbc94d6e (patch)
treedf685d3e358750fe97507811eb1861531884b5e6 /cpp/test/IceUtil/thread/TestSuite.cpp
parentRemoved unused definition of UnknownEndpointType. (diff)
downloadice-5fbef4d3304ddd53c29bcb3ebd89380dbbc94d6e.tar.bz2
ice-5fbef4d3304ddd53c29bcb3ebd89380dbbc94d6e.tar.xz
ice-5fbef4d3304ddd53c29bcb3ebd89380dbbc94d6e.zip
Removed _detached member from ThreadControl. Joining with a thread more
than once or detaching a detached thread or joining with a detached thread now has undefined behavior (instead of throwing an exception). Cleaned up a number of race conditions around the _id members of Thread and ThreadControl. Explicitly hid the assignment operator and copy constructor of Thread so we get better diagnostics for that.
Diffstat (limited to 'cpp/test/IceUtil/thread/TestSuite.cpp')
-rw-r--r--cpp/test/IceUtil/thread/TestSuite.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/thread/TestSuite.cpp b/cpp/test/IceUtil/thread/TestSuite.cpp
index 8ea0b07b27d..ab03cbcfad9 100644
--- a/cpp/test/IceUtil/thread/TestSuite.cpp
+++ b/cpp/test/IceUtil/thread/TestSuite.cpp
@@ -17,7 +17,6 @@
#include <RecMutexTest.h>
#include <RWRecMutexTest.h>
#include <CreateTest.h>
-#include <DetachTest.h>
#include <AliveTest.h>
#include <StartTest.h>
#include <MonitorMutexTest.h>
@@ -29,7 +28,6 @@ void
initializeTestSuite()
{
allTests.push_back(new CreateTest);
- allTests.push_back(new DetachTest);
allTests.push_back(new AliveTest);
allTests.push_back(new StartTest);
allTests.push_back(new MutexTest);