initialProcess is now called before interruptAccept

This commit is contained in:
Marty Kraimer committed 2002-03-08 15:19:14 +00:00
1 parent 866a410f23
commit a33f03c6ea
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -50,8 +50,8 @@ typedef enum {
initHookAfterInitDatabase,
initHookAfterFinishDevSup,
initHookAfterScanInit,
initHookAfterInterruptAccept,
initHookAfterInitialProcess,
initHookAfterInterruptAccept,
initHookAtEnd
}initHookState;
+6 -6
View File
@@ -217,12 +217,6 @@ int iocInit(char * pResourceFilename)
(void)taskDelay(sysClkRateGet()/2);
if (pinitHooks) (*pinitHooks)(initHookAfterScanInit);
/* Enable scan tasks and some driver support functions. */
interruptAccept=TRUE;
if (pinitHooks) (*pinitHooks)(initHookAfterInterruptAccept);
/*
* Process all records that have their "process at initialization"
* field set (pini).
@@ -233,6 +227,12 @@ int iocInit(char * pResourceFilename)
if (pinitHooks) (*pinitHooks)(initHookAfterInitialProcess);
/* Enable scan tasks and some driver support functions. */
interruptAccept=TRUE;
if (pinitHooks) (*pinitHooks)(initHookAfterInterruptAccept);
/* Start up CA server */
rsrv_init();