From d84e9cb3ec0a661c93f4ed9f1022cea680e73fc3 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 24 Aug 2009 17:08:41 +0000 Subject: [PATCH] exp passed to assert must not change the state of the data structures --- src/libCom/osi/epicsThread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libCom/osi/epicsThread.cpp b/src/libCom/osi/epicsThread.cpp index 68437e164..acaa2ef6d 100644 --- a/src/libCom/osi/epicsThread.cpp +++ b/src/libCom/osi/epicsThread.cpp @@ -128,7 +128,8 @@ void epicsThread::exit () void epicsThread::exitWait () throw () { - assert ( this->exitWait ( DBL_MAX ) ); + bool success = this->exitWait ( DBL_MAX ); + assert ( success ); } bool epicsThread::exitWait ( const double delay ) throw ()