cancel outstanding IO when a channel becomes unresponsive

This commit is contained in:
Jeff Hill
2004-06-17 23:31:30 +00:00
parent 33ee0cba83
commit d0ca66c2e3

View File

@@ -175,10 +175,12 @@ void nciu::connect ( unsigned nativeType,
}
void nciu::unresponsiveCircuitNotify (
epicsGuard < epicsMutex > & /* cbGuard */,
epicsGuard < epicsMutex > & cbGuard,
epicsGuard < epicsMutex > & guard )
{
guard.assertIdenticalMutex ( this->cacCtx.mutexRef () );
this->cacCtx.disconnectAllIO ( cbGuard, guard,
*this, this->eventq );
this->notify().disconnectNotify ( guard );
caAccessRights noRights;
this->notify().accessRightsNotify ( guard, noRights );