removed knowledge of preemptive cb enable

This commit is contained in:
Jeff Hill
2003-04-18 22:05:44 +00:00
parent 948718f253
commit ae975a8e23
2 changed files with 12 additions and 16 deletions

View File

@@ -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

View File

@@ -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];