Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
epicsServer.cc 495 B
#include "cadef.h"
#include "envDefs.h"
#include "fdManager.h"
#include "exServer.h"
#include "epicsServer.hh"
#include "debug.h"


void *
epicsServer::epics_main ()
{
    exServer *pCAS;
    try {
      pCAS = new exServer (prefix.c_str(), prefix1.c_str(), prefix2.c_str(), 0, 1);
    }
    catch (...) {
      system_log(1, "Epics server initialization error");
    }
    pCAS->setDebugLevel(0);
    system_log(1, "Epics server started");
    for(;;) fileDescriptorManager.process(1000.0);
}