From 1e9986a2ed046f5c79019f36c2e8e6d4e93fa76c Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 7 Dec 2006 20:30:44 +0000 Subject: [PATCH] fix for mantis 278 - PCAS should refresh strng table cache for enum PV every time that a channel connects --- src/cas/generic/casPVI.cc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/cas/generic/casPVI.cc b/src/cas/generic/casPVI.cc index 67c2331d1..ce221d355 100644 --- a/src/cas/generic/casPVI.cc +++ b/src/cas/generic/casPVI.cc @@ -141,15 +141,6 @@ caStatus casPVI::attachToServer ( caServerI & cas ) caStatus casPVI::updateEnumStringTable ( casCtx & ctxIn ) { epicsGuard < epicsMutex > guard ( this->mutex ); - - // - // keep trying to fill in the table if client disconnects - // prevented previous asynchronous IO from finishing, but if - // a previous client has succeeded then dont bother. - // - if ( this->enumStrTbl.numberOfStrings () > 0 ) { - return S_cas_success; - } // // create a gdd with the "enum string table" application type @@ -201,15 +192,6 @@ caStatus casPVI::updateEnumStringTable ( casCtx & ctxIn ) void casPVI::updateEnumStringTableAsyncCompletion ( const gdd & resp ) { epicsGuard < epicsMutex > guard ( this->mutex ); - - // - // keep trying to fill in the table if client disconnects - // prevented previous asynchronous IO from finishing, but if - // a previous client has succeeded then dont bother. - // - if ( this->enumStrTbl.numberOfStrings () > 0 ) { - return; - } if ( resp.isContainer() ) { errMessage ( S_cas_badType,