fixed another tcp shutdown problem

This commit is contained in:
Jeff Hill
2002-05-14 23:41:45 +00:00
parent 43911f857a
commit 5430388d1b
+7 -6
View File
@@ -1377,16 +1377,17 @@ bool cac::verifyAndDisconnectChan (
}
void cac::disconnectChannel (
epicsGuard < callbackMutex > & cbLocker, // X aCC 431
epicsGuard < cacMutex > & locker,
epicsGuard < callbackMutex > & cbGuard, // X aCC 431
epicsGuard < cacMutex > & guard,
nciu & chan )
{
this->disconnectAllIO ( locker, chan, true );
this->disconnectAllIO ( guard, chan, true );
chan.getPIIU()->uninstallChan ( guard, chan );
chan.disconnect ( *this->pudpiiu );
this->pudpiiu->installChannel ( chan );
epicsGuardRelease < cacMutex > autoMutexRelease ( locker );
chan.connectStateNotify ( cbLocker );
chan.accessRightsNotify ( cbLocker );
epicsGuardRelease < cacMutex > autoMutexRelease ( guard );
chan.connectStateNotify ( cbGuard );
chan.accessRightsNotify ( cbGuard );
}
bool cac::badTCPRespAction ( epicsGuard < callbackMutex > &, tcpiiu & iiu,