removed knowledge of preemptive cb enable
This commit is contained in:
@@ -45,15 +45,13 @@ epicsTimerNotify::expireStatus
|
||||
tcpRecvWatchdog::expire ( const epicsTime & /* currentTime */ ) // X aCC 361
|
||||
{
|
||||
if ( this->responsePending ) {
|
||||
if ( ! this->cacRef.preemptiveCallbakIsEnabled() ) {
|
||||
if ( this->iiu.bytesArePendingInOS() ) {
|
||||
this->cacRef.printf (
|
||||
"The CA client library is disconnecting because a CA server isnt responding\n" );
|
||||
this->cacRef.printf (
|
||||
"when there are incoming messages pending probably because the application\n" );
|
||||
this->cacRef.printf (
|
||||
"isnt calling ca_pend_event().\n" );
|
||||
}
|
||||
if ( this->iiu.bytesArePendingInOS() ) {
|
||||
this->cacRef.printf (
|
||||
"The CA client library is disconnecting because a CA server isnt responding\n" );
|
||||
this->cacRef.printf (
|
||||
"when there are incoming messages pending probably because the application\n" );
|
||||
this->cacRef.printf (
|
||||
"isnt properly schedualed.\n" );
|
||||
}
|
||||
this->cancel ();
|
||||
# ifdef DEBUG
|
||||
|
||||
@@ -40,13 +40,11 @@ tcpSendWatchdog::~tcpSendWatchdog ()
|
||||
epicsTimerNotify::expireStatus tcpSendWatchdog::expire (
|
||||
const epicsTime & /* currentTime */ )
|
||||
{
|
||||
if ( ! this->cacRef.preemptiveCallbakIsEnabled() ) {
|
||||
if ( this->iiu.bytesArePendingInOS() ) {
|
||||
this->cacRef.printf (
|
||||
"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" );
|
||||
}
|
||||
if ( this->iiu.bytesArePendingInOS() ) {
|
||||
this->cacRef.printf (
|
||||
"The CA client library is disconnecting after a flush request "
|
||||
"timed out, but receive data is pending, probably because of an "
|
||||
"application schedualing problem\n" );
|
||||
}
|
||||
# ifdef DEBUG
|
||||
char hostName[128];
|
||||
|
||||
Reference in New Issue
Block a user