removed removeAllChannels() mf

This commit is contained in:
Jeff Hill
2002-05-09 17:19:12 +00:00
parent 9ec47f54a3
commit 105da2c781
2 changed files with 6 additions and 11 deletions

View File

@@ -172,6 +172,12 @@ udpiiu::~udpiiu ()
{
bool closeCompleted = false;
static limboiiu limboIIU;
while ( nciu * pChan = this->channelList.get () ) {
// no need to own CAC lock here because the channel is being decomissioned
pChan->disconnect ( limboIIU );
}
this->shutdownCmd = true;
this->wakeupMsg ();
@@ -943,16 +949,6 @@ void udpiiu::beaconAnomalyNotify ()
}
}
void udpiiu::removeAllChannels ( epicsGuard < callbackMutex > & )
{
epicsGuard < udpMutex > guard ( this->mutex );
static limboiiu limboIIU;
while ( nciu * pChan = this->channelList.get () ) {
// no need to own CAC lock here because the channel is being decomissioned
pChan->disconnect ( limboIIU );
}
}
bool udpiiu::searchMsg ( unsigned short retrySeqNumber, unsigned & retryNoForThisChannel )
{
bool success;

View File

@@ -86,7 +86,6 @@ public:
void notifySearchResponse ( unsigned short retrySeqNo, const epicsTime & currentTime );
void resetSearchTimerPeriod ( double delay );
void beaconAnomalyNotify ();
void removeAllChannels ( epicsGuard < callbackMutex > & cbGuard );
int printf ( const char *pformat, ... );
unsigned channelCount ();
class tcpiiu * uninstallChanAndReturnDestroyPtr ( epicsGuard < cacMutex > &, nciu & );