From 7bef9698b05016951d44540d6943fa2598a9c9da Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 30 Oct 2002 18:55:16 +0000 Subject: [PATCH] force receive thread to hang around for its blocking socket call interrupt signal --- src/ca/tcpiiu.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ca/tcpiiu.cpp b/src/ca/tcpiiu.cpp index ae07ba812..75083c644 100644 --- a/src/ca/tcpiiu.cpp +++ b/src/ca/tcpiiu.cpp @@ -413,8 +413,13 @@ void tcpRecvThread::run () } catch ( ... ) { errlogPrintf ( "cac tcp receive thread terminating due to a c++ exception\n" ); - this->iiu.cacRef.initiateAbortShutdown ( this->iiu ); } + + // Although this is redundant in certain situations it is + // required in other because the receive thread must hang + // around until it receives its blocking socket call interrupt + // signal. + this->iiu.cacRef.initiateAbortShutdown ( this->iiu ); } //