moved odd ball delay == 0.0 is wait forever behavior into

legacy ca_pend_event interface so that we dont need to
keep doing this in the future.
This commit is contained in:
Jeff Hill
2001-07-13 23:11:19 +00:00
parent 9803b24aa9
commit 57e8a344fc

View File

@@ -631,6 +631,14 @@ extern "C" int epicsShareAPI ca_pend_event (ca_real timeout)
return status;
}
if ( timeout == 0.0 ) {
// preserve past odd ball behavior of waiting forever when
// the delay is zero
while ( true ) {
pcac->pendEvent ( 60.0 );
}
}
return pcac->pendEvent ( timeout );
}