From 5a118664313c6b892d64d4774069dafd1b58ef66 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 14 Jan 2011 18:01:53 -0700 Subject: [PATCH] when finished waiting for a thread to exit, signal the event in case other threads are waiting also --- src/libCom/osi/epicsThread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libCom/osi/epicsThread.cpp b/src/libCom/osi/epicsThread.cpp index 55f9e5872..ed016f47e 100644 --- a/src/libCom/osi/epicsThread.cpp +++ b/src/libCom/osi/epicsThread.cpp @@ -169,6 +169,8 @@ bool epicsThread::exitWait ( const double delay ) throw () "epicsThread::exitWait()\n" ); epicsThreadSleep ( epicsMin ( delay, 5.0 ) ); } + // the event mechanism is used for other purposes + this->event.signal (); return this->terminated; }