jba pact now used to test for asyn processing, not return value
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
|
||||
* .03 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .04 03-13-92 jba ANSI C changes
|
||||
* .05 04-10-92 jba pact now used to test for asyn processing, not return value
|
||||
* ...
|
||||
*/
|
||||
|
||||
@@ -140,7 +141,8 @@ static long read_bi(pbi)
|
||||
callbackSetPriority(pbi->prio,pcallback);
|
||||
printf("%s Starting asynchronous processing\n",pbi->name);
|
||||
wdStart(pcallback->wd_id,wait_time,callbackRequest,(int)pcallback);
|
||||
return(1);
|
||||
pbi->pact=TRUE;
|
||||
return(0);
|
||||
}
|
||||
default :
|
||||
if(recGblSetSevr(pbi,SOFT_ALARM,VALID_ALARM)){
|
||||
|
||||
Reference in New Issue
Block a user