diff options
author | Michi Henning <michi@zeroc.com> | 2003-03-10 05:37:58 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-03-10 05:37:58 +0000 |
commit | 01b4e64ef320955b407ca5bbcaab927eb8caa760 (patch) | |
tree | bddba2c6f267b5e0922e6d115fe2a714dab0f104 /cpp/src/IceUtil/ThreadException.cpp | |
parent | Add ThreadControl::isAlive() functionality for Windows. (diff) | |
download | ice-01b4e64ef320955b407ca5bbcaab927eb8caa760.tar.bz2 ice-01b4e64ef320955b407ca5bbcaab927eb8caa760.tar.xz ice-01b4e64ef320955b407ca5bbcaab927eb8caa760.zip |
Fixed a variety of race conditions in Thread.cpp. Made RWRecMutex smaller.
Diffstat (limited to 'cpp/src/IceUtil/ThreadException.cpp')
-rw-r--r-- | cpp/src/IceUtil/ThreadException.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
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; +} |