From 01b4e64ef320955b407ca5bbcaab927eb8caa760 Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Mon, 10 Mar 2003 05:37:58 +0000 Subject: Fixed a variety of race conditions in Thread.cpp. Made RWRecMutex smaller. --- cpp/src/IceUtil/ThreadException.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'cpp/src/IceUtil/ThreadException.cpp') diff --git a/cpp/src/IceUtil/ThreadException.cpp b/cpp/src/IceUtil/ThreadException.cpp index 1139764a8ce..86fd1e20852 100644 --- a/cpp/src/IceUtil/ThreadException.cpp +++ b/cpp/src/IceUtil/ThreadException.cpp @@ -125,3 +125,26 @@ IceUtil::ThreadStartedException::ice_throw() const { throw *this; } + +IceUtil::ThreadNotStartedException::ThreadNotStartedException(const char* file, int line) : + Exception(file, line) +{ +} + +string +IceUtil::ThreadNotStartedException::ice_name() const +{ + return "IceUtil::ThreadNotStartedException"; +} + +IceUtil::Exception* +IceUtil::ThreadNotStartedException::ice_clone() const +{ + return new ThreadNotStartedException(*this); +} + +void +IceUtil::ThreadNotStartedException::ice_throw() const +{ + throw *this; +} -- cgit v1.2.3