jba pact now used to test for asyn processing, not return value

This commit is contained in:
Janet B. Anderson
1992-04-17 12:57:07 +00:00
parent e78682784f
commit 4184bdd54e
10 changed files with 33 additions and 15 deletions

View File

@@ -33,6 +33,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
* ...
*/
@@ -136,7 +137,8 @@ static long read_histogram(phistogram)
callbackSetPriority(phistogram->prio,pcallback);
printf("%s Starting asynchronous processing\n",phistogram->name);
wdStart(pcallback->wd_id,wait_time,callbackRequest,(int)pcallback);
return(1);
phistogram->pact=TRUE;
return(0);
}
default :
if(recGblSetSevr(phistogram,SOFT_ALARM,VALID_ALARM)){