remove threadInit; add caMonitor.c
This commit is contained in:
@@ -29,6 +29,7 @@ TEMPLATES += top/exampleApp/src/baseLIBOBJS
|
||||
TEMPLATES += top/exampleApp/src/devXxxSoft.c
|
||||
TEMPLATES += top/exampleApp/src/xxxRecord.c
|
||||
TEMPLATES += top/exampleApp/src/caExample.c
|
||||
TEMPLATES += top/exampleApp/src/caMonitor.c
|
||||
TEMPLATES += top/exampleApp/src/exampleInclude.dbd
|
||||
TEMPLATES += top/exampleApp/src/sncExample.st
|
||||
TEMPLATES += top/exampleApp/src/xxxRecord.dbd
|
||||
|
||||
@@ -15,7 +15,6 @@ main(int argc,char **argv)
|
||||
fprintf(stderr,"usage: caExample pvname\n");
|
||||
exit(1);
|
||||
}
|
||||
threadInit();
|
||||
SEVCHK(ca_task_initialize(),"ca_task_initialize");
|
||||
SEVCHK(ca_search(argv[1],&mychid),"ca_search failure");
|
||||
SEVCHK(ca_pend_io(5.0),"ca_pend_io failure");
|
||||
|
||||
@@ -24,7 +24,6 @@ of this distribution.
|
||||
|
||||
int main(int argc,char *argv[])
|
||||
{
|
||||
threadInit();
|
||||
ioccrfRegisterCommon();
|
||||
registerRecordDeviceDriverRegister();
|
||||
if(argc>=2) {
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
cd topbin
|
||||
ld < exampleLibrary.munch
|
||||
threadInit()
|
||||
|
||||
cd top
|
||||
dbLoadDatabase("dbd/exampleApp.dbd")
|
||||
|
||||
Reference in New Issue
Block a user