improved message

This commit is contained in:
Jeff Hill
2002-10-30 00:35:31 +00:00
parent 4feb5bd493
commit 784a5f815f
2 changed files with 10 additions and 6 deletions

View File

@@ -45,10 +45,13 @@ epicsTimerNotify::expireStatus
tcpRecvWatchdog::expire ( const epicsTime & /* currentTime */ ) // X aCC 361
{
if ( this->responsePending ) {
if ( this->iiu.bytesArePendingInOS() ) {
this->cacRef.printf (
"Warning: non-preemptive CA client application has incoming messages pending, but it does not called ca_pend_event()\n" );
return expireStatus ( restart, this->period );
if ( ! this->cacRef.preemptiveCallbakIsEnabled() ) {
if ( this->iiu.bytesArePendingInOS() ) {
this->cacRef.printf (
"The CA client is disconnecting because a CA server isnt responding "
"when there are incoming messages pending probably because the "
"application isnt calling ca_pend_event().\n" );
}
}
this->cancel ();
# ifdef DEBUG

View File

@@ -43,8 +43,9 @@ epicsTimerNotify::expireStatus tcpSendWatchdog::expire (
if ( ! this->cacRef.preemptiveCallbakIsEnabled() ) {
if ( this->iiu.bytesArePendingInOS() ) {
this->cacRef.printf (
"Warning: non-preemptive CA application has send data pending but it has not called ca_pend_event()\n" );
return expireStatus ( restart, this->period );
"The CA client is disconnecting after a flush request timed out, "
"but receive data is pending, probably because the non-preemptive"
"mode application isnt calling ca_pend_event()\n" );
}
}
# ifdef DEBUG