- Enhanced and debugged histogram memory for AMOR
* added PROJECT both in HM and driver code * added single detector support. - Removed several bugs in the AMOR data bit. - Updated documentation
This commit is contained in:
28
nserver.c
28
nserver.c
@ -233,6 +233,15 @@
|
||||
/* install a secret fully priviledged entry point for ME */
|
||||
AddUser("Achterbahn","Kiel",usInternal);
|
||||
|
||||
/* install environment monitor */
|
||||
self->pMonitor = GetEnvMon(self->pSics);
|
||||
TaskRegister(self->pTasker,
|
||||
EnvMonTask,
|
||||
EnvMonSignal,
|
||||
NULL,
|
||||
self->pMonitor,1);
|
||||
|
||||
|
||||
/* initialize the last saved status of the system */
|
||||
strcpy(pBueffel,"Restore ");
|
||||
pText = IFindOption(pSICSOptions,"statusfile");
|
||||
@ -246,15 +255,14 @@
|
||||
IFAddOption(pSICSOptions,"statusfile",
|
||||
DEFAULTSTATUSFILE);
|
||||
}
|
||||
pCon = SCCreateDummyConnection(self->pSics);
|
||||
self->dummyCon = pCon = SCCreateDummyConnection(self->pSics);
|
||||
if(pCon)
|
||||
{
|
||||
InterpExecute(self->pSics,pCon,pBueffel);
|
||||
SCDeleteConnection(pCon);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("ERROR: Cannot allocate dummy connection, status NOT saved");
|
||||
printf("ERROR: Cannot allocate dummy connection, status NOT loaded");
|
||||
}
|
||||
|
||||
/* install performance monitor */
|
||||
@ -266,13 +274,6 @@
|
||||
NULL,
|
||||
pMon,1);
|
||||
|
||||
/* install environment monitor */
|
||||
self->pMonitor = GetEnvMon(self->pSics);
|
||||
TaskRegister(self->pTasker,
|
||||
EnvMonTask,
|
||||
EnvMonSignal,
|
||||
NULL,
|
||||
self->pMonitor,1);
|
||||
|
||||
/* install telnet port */
|
||||
InstallTelnet();
|
||||
@ -313,11 +314,10 @@
|
||||
{
|
||||
strcat(pBueffel,DEFAULTSTATUSFILE);
|
||||
}
|
||||
pCon = SCCreateDummyConnection(self->pSics);
|
||||
if(pCon)
|
||||
if(self->dummyCon)
|
||||
{
|
||||
InterpExecute(self->pSics,pCon,pBueffel);
|
||||
SCDeleteConnection(pCon);
|
||||
InterpExecute(self->pSics,self->dummyCon,pBueffel);
|
||||
SCDeleteConnection(self->dummyCon);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user