From 6da98f4e5e01d0e91ebfa74aac99eb5d0efd932f Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 18 Apr 2003 22:07:19 +0000 Subject: [PATCH] moved conn cb change to be guarded by func in ca context class --- src/ca/oldChannelNotify.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/ca/oldChannelNotify.cpp b/src/ca/oldChannelNotify.cpp index b682ab365..ac061e29d 100644 --- a/src/ca/oldChannelNotify.cpp +++ b/src/ca/oldChannelNotify.cpp @@ -97,28 +97,6 @@ int oldChannelNotify::replaceAccessRightsEvent ( caArh *pfunc ) return ECA_NORMAL; } -int oldChannelNotify::changeConnCallBack ( caCh * pfunc ) -{ - epicsGuard < callbackMutex > callbackGuard = - this->cacCtx.callbackGuardFactory (); - - if ( ! this->currentlyConnected ) { - if ( pfunc ) { - if ( ! this->pConnCallBack ) { - this->cacCtx.decrementOutstandingIO ( this->ioSeqNo ); - } - } - else { - if ( this->pConnCallBack ) { - this->cacCtx.incrementOutstandingIO ( this->ioSeqNo ); - } - } - } - this->pConnCallBack = pfunc; - - return ECA_NORMAL; -} - void oldChannelNotify::connectNotify () { this->currentlyConnected = true;