From da361e9686d581b44e6c09c47955a28603e04f04 Mon Sep 17 00:00:00 2001 From: crs Date: Tue, 30 Jul 2002 18:31:21 +0000 Subject: [PATCH] moved exception definition to header file. --- lib/mt/CThreadRep.cpp | 3 --- lib/mt/XThread.h | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/mt/CThreadRep.cpp b/lib/mt/CThreadRep.cpp index 82e15992..ceff76c2 100644 --- a/lib/mt/CThreadRep.cpp +++ b/lib/mt/CThreadRep.cpp @@ -24,9 +24,6 @@ #endif -// FIXME -- temporary exception type -class XThreadUnavailable { }; - // // CThreadRep // diff --git a/lib/mt/XThread.h b/lib/mt/XThread.h index 3a5e59e1..700c195b 100644 --- a/lib/mt/XThread.h +++ b/lib/mt/XThread.h @@ -27,6 +27,12 @@ must rethrow it if caught (by XThreadCancel, XThread, or ...). */ class XThreadCancel : public XThread { }; +//! Thread creation exception +/*! +Thrown when a thread cannot be created. +*/ +class XThreadUnavailable { }; + /*! \def RETHROW_XTHREAD Convenience macro to rethrow an XThread exception but ignore other