Pre R3.4 changes

This commit is contained in:
Janet B. Anderson
1992-02-04 15:56:43 +00:00
parent 74055aba80
commit 127d986a55
78 changed files with 1315 additions and 2379 deletions

View File

@@ -30,6 +30,8 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .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
* ...
*/
@@ -39,6 +41,7 @@
#include <wdLib.h>
#include <alarm.h>
#include <callback.h>
#include <cvtTable.h>
#include <dbDefs.h>
#include <dbAccess.h>
@@ -83,9 +86,9 @@ static void myCallback(pcallback)
struct histogramRecord *phistogram=(struct histogramRecord *)(pcallback->prec);
struct rset *prset=(struct rset *)(phistogram->rset);
dbScanLock(phistogram);
(*prset->process)(phistogram->pdba);
dbScanUnlock(phistogram);
dbScanLock((struct dbCommon *)phistogram);
(*prset->process)(phistogram);
dbScanUnlock((struct dbCommon *)phistogram);
return;
}
@@ -133,7 +136,7 @@ static long read_histogram(phistogram)
wait_time = (int)(phistogram->disv * vxTicksPerSecond);
if(wait_time<=0) return(0);
printf("%s Starting asynchronous processing\n",phistogram->name);
wdStart(pcallback->wd_id,wait_time,callbackRequest,pcallback);
wdStart(pcallback->wd_id,wait_time,callbackRequest,(int)pcallback);
return(1);
}
default :