From a22835e8351300c336a2eeb415a4b13ff8534396 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 18 Dec 2002 02:36:09 +0000 Subject: [PATCH] fixed a potential schedualing problem related to changed timer behavior, but I have not been able to cause this problem to occur during testing --- src/cas/generic/st/casStreamOS.cc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/cas/generic/st/casStreamOS.cc b/src/cas/generic/st/casStreamOS.cc index 711fe5fda..9909d57cd 100644 --- a/src/cas/generic/st/casStreamOS.cc +++ b/src/cas/generic/st/casStreamOS.cc @@ -225,17 +225,9 @@ void casStreamIOWakeup::show ( unsigned level ) const // epicsTimerNotify::expireStatus casStreamIOWakeup::expire ( const epicsTime & /* currentTime */ ) { - // - // in case there is something in the input buffer - // and currently nothing to be read from TCP - // - // processInput() does an armRecv() so - // if recv is not armed, there is space in - // the input buffer, and there eventually will - // be something to read from TCP this works - // - this->pOS->processInput(); + casStreamOS & tmpOS = *this->pOS; this->pOS = 0; + tmpOS.processInput(); return noRestart; }